Jump to content

Recommended Posts

Posted

When I try to access my database, it return the message:

 

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home1/dtt22299/public_html/online_trading/processemail.php on line 10

 

I do not understand what it mean

 

I use        {$con = mysql_connect("localhost","dtt22299_bill","dtt22299bill");     in my processemai.php

 

Are there anything wrong?

 

 

Posted

It means the function mysql_connect is obsolete and shouldn't be used. All of the mysql_ functions are obsolete. They work but throw warnings in 5.5 and 5.6, and they don't even exist in 7.0 and up.

 

You should be using mysqli_ functions instead.

Posted

I use      mysqli_ functions

 

The return message is

 

Fatal error: Call to undefined function mysqli_functions() in /home1/dtt22299/public_html/online_trading/processemail.php on line 10

  • 1 year later...

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...