07-16-2009, 02:02 PM
|
#4 (permalink)
|
|
Wizard
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
|
Making it into one query will make it run far faster. It will work for methods like this, but PHP does not allow more than one command per mysql_query. I consider this one of PHPs weak points since as you get more advanced with SQL, multiple queries become the best way to do things.
|
|
|
|