vincitygialam Posted September 14, 2018 Share Posted September 14, 2018 Hi, i am haveing issues i am creating a sing up form and when i try and test it it gives this a error Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\website\includes\dbh.inc.php:8 Stack trace: #0 C:\xampp\htdocs\website\includes\signup.inc.php(5): include_once() #1 {main} thrown in C:\xampp\htdocs\website\includes\dbh.inc.php on line 8 Tks! file in questionhttps://drive.google.com/open?id=0B0plHoklub_Aemx1b2hLei12dkE Quote Link to comment Share on other sites More sharing options...
benanamen Posted September 14, 2018 Share Posted September 14, 2018 Stop what your doing! You are using obsolete code that has been removed from PHP. You need to use PDO. This tutorial will get you going. https://phpdelusions.net/pdo Link to comment Share on other sites More sharing options...
Zane Posted September 14, 2018 Share Posted September 14, 2018 mysql_connect doesn't exist in PHP7 and considering you're getting an undefined function error, I can easily assume you're using PHP7+ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.