jeddi
04-30-2011, 12:24 PM
Hi,
I have a table which contains just one row, and is updated each day.
Like this:
$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 ?
.
I have a table which contains just one row, and is updated each day.
Like this:
$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 ?
.