Jump to content

database access


heliomember

Recommended Posts

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?

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...