here is my code want to get records between two dates
$sql=mysql_query("SELECT * FROM `expense` WHERE `date` BETWEEN '2011-04-26' AND '2011-04-28'")
or die(mysql_error());
echo $r=mysql_fetch_assoc($sql);
i getting "Array" in output instead of the data please sort it out for me i am not getting it right