Can you all tell me the difference in these 2 codes? I'm trying to learn JQuery and ive seen this code below in the tutorials.
$DB->Query("Select * FROM time");
I'm use to coding queries like this.
$res = mysql_query("SELECT timestamp, name FROM time ORDER BY timestamp DESC");
Whats the difference in these 2 codes and can I use the 2nd code in JQuery?