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

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

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.