Hey all,
I am having trouble with a php script used to show results to a mySQL query. I am using the following query:
SELECT * FROM files WHERE name LIKE '%$searchTerm%' ORDER BY date DESC
where date is stored in the database in the form "date("m / d / y")"
up till now (for the past six months), I have had no problems with this script, but since january started, new files appear at the very end of the list of files, as opposed to the beginning where they should be.
I am not sure whether the problem rests with my SQL query, or with my date format or what.
Thanks for any help