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
    Regular Coder
    Join Date
    Jul 2011
    Posts
    272
    Thanks
    63
    Thanked 1 Time in 1 Post

    addition update set?

    Hello, I have the following code:

    Code:
    $one = 1;
    
    mysql_query("UPDATE members SET offerscompleted=offerscompleted+".$one." WHERE username='".$snuid."'");
    and for some reason it adds it to ALL members.. dunno why..

  • #2
    Regular Coder
    Join Date
    Jul 2011
    Posts
    272
    Thanks
    63
    Thanked 1 Time in 1 Post
    nevermind, it works right.


  •  

    Posting Permissions

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