RE: [PHP] arg!

From: Date: Fri, 13 Oct 2000 19:15:17 +0000
Subject: RE: [PHP] arg!
Groups: php.general 
Request: Send a blank email to php-general+get-20064@lists.php.net to get a copy of this message
-----Original Message----- From: Bruin, Bolke de Sent: vrijdag 13 oktober 2000 21:15 To: 'Kurth Bemis' Subject: RE: [PHP] arg! try for ($i=0;$i<strlen($q);$i++) { $c .= '%',$q[$i].'%'; } the operator is '.=' not ". =" it maybe trivial but ic ould work :-) Bolke -----Original Message----- From: Kurth Bemis [mailto:kurth@usaexpress.net] Sent: vrijdag 13 oktober 2000 20:40 To: php-general@lists.php.net Subject: [PHP] arg! arg! 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? ~kurth Kurth Bemis - Network/Systems Administrator, USAExpress.net/Ozone Computer There is no sin except stupidity. -- Oscar Wilde kurth@usaexpress.net | http://www.usaexpress.net/kurth PGP key available - http://www.usaexpress.net/kurth/pgp Fight Weak Encryption! Donate your wasted CPU cycles to Distributed.net (http://www.distributed.net) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#20064) next »