I wan to load data from mysql with PHP like Facebook (load data by scrolling down). I checked in many tutorial where everyone is doing by order by ID
but I can't do so while my fetching query is like follows.
mysql_query("SELECT * FROM conferencecreate WHERE ccFlag = 1 AND ccStartingDate >= '$nowTime' GROUP BY ccTitle");
If I want to implement ORDER BY ccId DESC
then its not working. Any Idea how to solve this issue?
I tried this :-
mysql_query("SELECT * FROM conferencecreate
WHERE ccFlag = 1
AND ccStartingDate >= '$nowTime'
GROUP BY ccTitle
ORDER BY ccId DESC");
But this produced the error
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource