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.
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Regular Coder
    Join Date
    Nov 2011
    Posts
    270
    Thanks
    8
    Thanked 4 Times in 4 Posts
    I wasn't aware that I couldn't use a WHERE clause in an insert.

    The } is here

    PHP Code:
    $q mysql_query($query1) or die ('Error posting data');
                                } 

  2. #17
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    29,353
    Thanks
    83
    Thanked 4,904 Times in 4,865 Posts
    Be yourself. No one else is as qualified.

  3. #18
    Regular Coder
    Join Date
    Nov 2011
    Posts
    270
    Thanks
    8
    Thanked 4 Times in 4 Posts
    Can I use a WHERE clause when doing an UPDATE?

  4. #19
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    29,353
    Thanks
    83
    Thanked 4,904 Times in 4,865 Posts
    Be yourself. No one else is as qualified.

  5. #20
    Regular Coder
    Join Date
    Nov 2011
    Posts
    270
    Thanks
    8
    Thanked 4 Times in 4 Posts
    I actually fixed it already but thank you for the link.


 

Posting Permissions

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