RE: [PHP] Hi
| From: | Jennifer Goodie | Date: | Wed, 09 Apr 2003 20:54:10 +0000 |
| Subject: | RE: [PHP] Hi | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143202@lists.php.net to get a copy of this message | ||
That is because, unlike javascript, PHP uses '.' as the concatenation
operator. You might find reading the manual useful. Here is the page on
string operators...
http://www.php.net/manual/en/language.operators.string.php
As a side note, "Hi" is not the most useful subject for a question. You
might want to give your posts meaningful subjects so people can tell what
they are about.
> -----Original Message-----
> From: shaun [mailto:shaun@mania.plus.com]
> Sent: Wednesday, April 09, 2003 1:44 PM
> To: php-general@lists.php.net
> Subject: [PHP] Hi
>
>
> hi,
>
> how can i append a value to a string i seem to get errors with:
>
> $query = $query + ", ";
>
> Thanks for your help