Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    T_LUMBER error with this line of code (unsure why)

    This is the line of PHP:
    PHP Code:
    $result mysql_query("SELECT * FROM `users`"); 
    and I get this error:
    Code:
    Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in /home/cjnet/public_html/rrs2y/news/v2/users.php on line 43

  • #2
    Regular Coder
    Join Date
    May 2006
    Location
    Wales
    Posts
    820
    Thanks
    1
    Thanked 82 Times in 79 Posts
    Can you post 2 or 3 lines before that aswell? As far as I can see that code is valid.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •