Jump to content

No results


timmah1

Recommended Posts

Why does this show "cannot get results!" constantly??

 

$events = array();
$query = "SELECT title, DATE_FORMAT(event_date'%Y-%c-%e') AS event_date FROM events WHERE event_date LIKE '$year-$month%'";
$result = mysql_query($query,$db) or die('cannot get results!');
while($row = mysql_fetch_assoc()) {
$events[$row['event_date']][] = $row;
}

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/185502-no-results/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.