Re: Help?

From: Date: Mon, 26 Mar 2001 05:44:33 +0000
Subject: Re: Help?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-7792@lists.php.net to get a copy of this message
Perhaps the quote marks within quote marks? PHP,as is javascript, very particular.. Try: echo "Name: $row['user_id'].'<br>\n"; or some such. or echo "Name".$row[user_id]."<br>\n"; It's the quote marks within that are playing havoc.. Phil J. Chris Hall wrote: > I keep getting this error on a little project im working on to learn PHP and > MySQL better: > Parse error: parse error, expecting ','' or > ';'' in > f:\inetpub\wwwroot\forums\index.php on line 38 > line 38 would be: > echo "Name: "$row["user_id"]."<br>\n"; > Can anyone help? > > -- > Chris Hall > sytems administrator > funnelbox mediaworks > chall@funnelbox.com > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#7792) next »