...

View Full Version : T_LUMBER error with this line of code (unsure why)



cj11
01-26-2008, 10:45 PM
This is the line of PHP:

$result = mysql_query("SELECT * FROM `users`");

and I get this error:

Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in /home/cjnet/public_html/rrs2y/news/v2/users.php on line 43

Mwnciau
01-27-2008, 12:23 AM
Can you post 2 or 3 lines before that aswell? As far as I can see that code is valid.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum