Anvar Logo
01 / 01
Anvar Logo +91 808 999 0405

php XAMPP Fatal error: Uncaught Error: Call to undefined function mysql_connect()

You probably have a php7 in XAMPP Please use PDO.
mysql_* functions have been removed in PHP 7
You can use

mysqli_connect($mysql_hostname , $mysql_username)

instead of

mysql_connect($mysql_hostname , $mysql_username)

 

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\ .php:13
Stack trace: #0 C:\xampp\htdocs\chat\index.php(2): include() #1 {main} thrown in C:\xampp\htdocs\chat\config.php on line 13
by anvar
Published : May , 8
  1. WOW just what I was searching for. Came here by searching for website

  2. Thanks for sharing your thoughts about website.
    Regards

Post a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.