04-10-2008, 01:50 PM
|
#7 (permalink)
|
|
The Wanderer
Join Date: Apr 2008
Posts: 12
Thanks: 7
|
Quote:
Originally Posted by Salathe
The standard MySQL library can only have one statement at a time. You're trying to use four UPDATE statements with a single call to mysql_query. In this case, you can manipulate the query (the WHERE clause) into just one statement since all of the rows to be updated will be given the same new date value.
|
Found that out, remade the PHP function so it it splits up the statement and then use a while loop to get all the statements into the DB.
Thanks to all people for trying to help 
|
|
|
|