Re: Is it bug?

From: Date: Wed, 07 Mar 2001 13:17:12 +0000
Subject: Re: Is it bug?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42906@lists.php.net to get a copy of this message
its not a bug, the proper syntax for {} is this. echo "hello {$names[1234]} how are you ?"; change your code to this. $wyjscie.="blankietparttwo\{}\{$imie $nazwisko $ulica $kodpocztowy $miejscowosc}"; or $wyjscie.= 'blankietparttwo{}{'. "$imie $nazwisko $ulica $kodpocztowy $miejscowosc}"; '' vs "" is a big difference, single quotes do not parse the data in between them, therfore it is ok to use '' with {} -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 lee@mediawaveonline.com "Piotr Duszynski" <dooshek@softomat.com.pl> wrote in message news:20010307113242.A14036@softomat.com.pl... I have smth like that in my code: $wyjscie.="blankietparttwo{}{$imie $nazwisko $ulica $kodpocztowy $miejscowosc}"; And I get error: Parse error: parse error, expecting `'}'' in zamowienia.inc on line 609 What's wrong? -- Piotr Duszynski http://www.softomat.com.pl http://filmomat.3miasto.pl http://www.3miasto.pl -- 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 (#42906) next »