Code: Select all
$result = mysql_query ("SELECT DISTINCT website FROM returns WHERE dateactioned IS NOT '0000-00-00' NULL ORDER BY website ASC");I do plan on setting dateactioned to be a NULL field, but for now, I want this to work.
It has to produce results where the data could be 2009-08-15 for example... and not 0000-00-00.
The error I get is:
Anyone know how I am being daft here?Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\xampp\phpmyadmin\shop\support\includes\returnscd.inc on line 74