Good day, I have a very simple mysql query that I would like to be based on time. I only want results for the query based on data from the prior 48 hours. After changing the query to what I believe is correct (with the help of others) I can never get passed a mysql fetch error. Any help would be aprreciated as I am stumped on this (so I thought) easy code.
Original SQL query that functions -
One of the many different new queries I have tried (dateline is the field with the date I need to reference)-
And another query that does not work -
The fetch line that always errors out (with the remainder of the code)-
And the error -
Quote:
|
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/****/public_html/pagevisD.php on line 13
|
Thanks again,