php/mysql update script
Posted 05 May 2006 - 08:04 AM
Posted 05 May 2006 - 08:18 AM
The only way that I can think of to update a table like this is to update each value separately. At least that's the only simple way to do it. I'm not saying it can't be done, I just can't think of a more simple way.
An easier way to do this would be to make just one row in the 'config' table and make the column titles the property and the first row table cell the value. This way you'll be able to pull them all out by one query and update them all with one query.
Hope this helps...
Posted 10 May 2006 - 05:57 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users