I have a table which contains just one row, and is updated each day.
As you can see, I don't have a WHERE clause.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());
Do I need one when there is only one row ?