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 3 of 3
  1. #1
    New Coder
    Join Date
    Sep 2009
    Location
    uk
    Posts
    81
    Thanks
    4
    Thanked 3 Times in 3 Posts

    query not working . cant work out why

    the top query works no problem .
    second one does not update the database.

    PHP Code:
    $res=mysql_query("UPDATE lotto SET jackpot='".($lot[0]+10)."'");
    $res=mysql_query("UPDATE users SET lotto='1' WHERE id='".$who."'"); 
    any ideas. ??

  • #2
    New Coder
    Join Date
    Sep 2009
    Location
    uk
    Posts
    81
    Thanks
    4
    Thanked 3 Times in 3 Posts
    fixed it myself .topic closed

  • #3
    Super Moderator guelphdad's Avatar
    Join Date
    Mar 2006
    Location
    St. Catharines, Ontario Canada
    Posts
    2,631
    Thanks
    4
    Thanked 147 Times in 138 Posts
    Please post the solution to the problem.


  •  

    Posting Permissions

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