WHERE 1=1
will result in all entries in the settings table being set to the values being input!!!
Even if there is only one entry in the table, and will only ever be one entry, this is a dangerous way to code things! One day you'll do that when there are lots of different entries in a table...
|