I'm not a php programmer. I manage this site: http://cambiocorsasrl.com/. Some days ago I moved it to another hosting provider and from there I get this error:
"Notice: Use of undefined constant mysql_fetch_assoc - assumed 'mysql_fetch_assoc' in /var/www/vhosts/axential000031/httpdocs/lib/myclass.php on line 49".
I tried with host but they told me that all is ok thier side. This is the line 49 of myclass.php :
function select ($sql="", $fetch=mysql_fetch_assoc)
I tried to change line 49 to:
function select ($sql="", $fetch=mysql_fetch_assoc($results))
but I get this error:
"Parse error: syntax error, unexpected '(', expecting ')' in /var/www/vhosts/axential000031/httpdocs/lib/myclass.php on line 49"
What do I wrong? Thanks a lot in advance. Roberto