I havea fairly simple problem... and I've pushed it down to this step in my code. I know the first two lines work as I've used them dozens of times... The next three are very similar to something I do in another script, however when using SQL's NOW/CURDATE functions I can't seem to get anything. The code below outputs nothing... Any help would be apprieciated.
$db = mysql_connect("localhost", "username", "password");
mysql_select_db("mydb", $db);
$res1 = mysql_query("SELECT NOW()", $db);
$res2 = mysql_fetch_row($res1, $db);
echo $res2[0];