Jump to content

Function missing :( in PHP 5


Recommended Posts

Hi all!Im trying to conect my PHP page3 to an MySQL database. I use the function mysql_connect() like this:

$dbHandler=@mysql_connect("localhost","name","pass")or die("No good!");

The problem is that i get a: Fattal error: Call to undefined function mysql_connect()I use PHP 5 on my computer and as far as I can tell that function is sopoused to exist.What to do?? HELP me!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...