Hi,
I have a table which contains just one row, and is updated each day.
Like this:
PHP Code:
$sql = "UPDATE pdc_promo_count SET cntr = '$new_cntr'"; // only one row
mysql_query($sql)or die("could not UPDATE pdc_promo_count". mysql_error());
As you can see, I don't have a WHERE clause.
Do I need one when there is only one row ?
.
__________________
If you want to attract and keep more clients, then offer great
customer support.
Support-Focus.com. automates the process and gives you a
trust seal to place on your website.
I recommend that you at least take
the 30 day free trial.