Please apologize for the basicness of my question, but this is driving me crazy for more than an hour now. I would like to modify the here below sql statement by using simple quotation marks instead of the double once. I tried and tried but I do not manage to find the solution. Thank you very much in advance for the replies. Cheers. Marc.
My code:
$result = mysql_query("
SELECT *
FROM sorties
WHERE srt_date_sortie BETWEEN '$date 00:00:00' AND '$date 23:59:59'
");
I’m not sure exactly what you’re trying to do, since your question isn’t very clear, and you don’t give any expectations (like what you tried and how you expected that to work, versus how it actually worked).
In the absence of content, I’ll take a stab at what I think you want.