Mysql_fetch_assoc Not working

First of all, sorry for my bad English.
I’ve been using free service from 000webhost for almost a year, from last month every mysql_fetch_assoc code are not giving any result.
My PHP version in cpanel already 5.5 but in phpmyadmin php version is 7.0.8 , is this causes my problem, How can I change php version in phpmyadmin databases.

Thanks in advance

Hi @St3vRy!

You can change the PHP version by going to: 000webhost cPanel > Settings > General > Change PHP version > 5.5

I’ve done that, but that doesn’t change php version on phpmyadmin, it’s still 7.0.8

The PHP version used by Database Manager doesn’t matter. The MySQL queries are the same.

Now you can run mysql_fetch_assoc() on your website ok, however I suggest you to move on mysqli_* functions, as mysql_* ones have been deprecated and removed as of PHP 7.