Im checked my sql, its working fine.
But im still getting this error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in..
$sql = "SELECT date FROM tbl_tour_profile";
$result = mysql_query($sql);
confirm_query($result); // this is the die function of sql
$i=0;
while($date_set = mysql_fetch_array($result)) {
}