How fix this Uncaught Error:


#1

Uncaught Error: Call to undefined function mysql_connect()

please help me for final project


#2

Hi @ursua.eric

mysql functions are deprecated by latest versions of PHP now. Lower your php version to 5.2 or 5.3 and try again.


#3

or you can use mysqli_connect.