0

I'm making a simple login and registration web pages using core php. I'm having problem with the mySql extension problem. I don't know why i'm seeing this php error? and how can I solve this? Please help me you experts.and also I don't have idea how to use mysqli. Php mysql extension error

Shadow
  • 244
  • 1
  • 3
  • 23

1 Answers1

1

This is not an error it is a warning!

the mysql_ database extension, is deprecated (gone for ever in PHP7) Specially if you are just learning PHP, spend your energies learning the PDO database extensions. Start here

You can stop this error from being produced by making a change to the php.ini file.

left click wampmanager-> PHP -> php.ini

Find this line, its on line 449 aproximately

error_reporting = E_ALL

and change it to

error_reporting = E_ALL & ~E_DEPRECATED
Community
  • 1
  • 1
RiggsFolly
  • 93,638
  • 21
  • 103
  • 149
  • 1
    Thank you so much for helping me. Your really deserves a plus vote and a thank for your help. Its really helpfull for me. – Shadow May 11 '16 at 16:07