Re: Re: PHP error on my site after transfer to another hosting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jim Giner wrote:

> On 12/22/2013 4:37 PM, EyeLand wrote:
>> 2) on line 23 on index.php how can I define $title="$apartments_title"; ?
>>
> What are you trying to do with that statement?  At the moment you are
> trying to put a dollar sign and the words 'apartments_title' into a
> variable named $title.  Is that what you want to do?  Pretty silly if
> you do.

  $title = "$apartments_title";

is actually equivalent to

  $title = (string) $apartments_title;

and not to

  $title = '$apartments_title';

-- 
Christoph M. Becker

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux