Hello I've this problem with mysql_fetch_assoc() i'm developing a website on localhost where there is no problem after uploading the site to a previous provider everything worked with little modification, i decided to change the provider and then the problem begins
mysql_select_db($database, $link);
echo $query = "SELECT title_id, title_name, genre_id, rating_id, title_desc, tumbnail_url FROM titles where new_release = 'C' ORDER BY title_name ASC";
$coming_soon_rows = mysql_num_rows(mysql_query($query));
$results = mysql_query($query, $link) or die(mysql_error());
$row_results = mysql_fetch_assoc($result);
this code works perfectly on the previous provider and localhost but not on the new provider I tested it but mysql_fetch_assoc() is empty
Thanx