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
> [EMAIL PROTECTED]
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to