Sample Header Ad - 728x90

SQl connection to XAMP

0 votes
1 answer
178 views
i am trying to connect my database to XAMP . I got this error Warning: Use of undefined constant ID - assumed 'ID' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\Thairis\login.php on line 8 Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\Thairis\connectdb.php:27 Stack trace: #0 C:\xampp\htdocs\Thairis\login.php(11): include() #1 {main} thrown in C:\xampp\htdocs\Thairis\connectdb.php on line 27
Asked by tahir Mohammed (1 rep)
May 2, 2020, 08:42 PM
Last activity: Jun 28, 2025, 08:07 AM