Re: arg!
| From: | Joao Prado Maia | Date: | Fri, 13 Oct 2000 18:37:47 +0000 |
| Subject: | Re: arg! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20055@lists.php.net to get a copy of this message | ||
On Fri, 13 Oct 2000, Kurth Bemis wrote:
> i keep getting a parse error in this line....line 16
>
> 15. $c = "";
> 16. for($i = 0; $i < strlen($q); $i++) { $c. = '%'.$q[$i].'%'; }
> 17. $q = $c;
>
> whats wrong with it?
You are doing "$c. = ", instead of "$c .= ".
Regards,
Joao
--
Joao Prado Maia
Web Developer
Kefta, Inc.
T: (415) 391-6881 ext 8008
F: (415) 391-7079