+ 1
fatal error :uncaught error:call to undefined function mysql_connect() in c:\xampp\htdocs\login\check.php:12stack trace:#0{main}
problem . connent my sql
6 odpowiedzi
+ 5
Hello, Mitra !
Please try mysqli_connect(MyHost, MyLogin, MyPassword, MyTable);
http://php.net/manual/ru/function.mysqli-connect.php
+ 4
It was removed in php 7. And has not been recommended since php 5. Use mysqli or pdo
+ 2
unable to connect to mysql .
+ 1
Alexander Sokolov not work
+ 1
Alexander Sokolov hello sir
+ 1
You shoild use: mysqli_connect(); instead,.
For a local server(Xampp) use:
mysqli_connect('localhost','root','','database_name');