vincitygialam Posted September 14, 2018 Share Posted September 14, 2018 (edited) 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 Edited September 14, 2018 by cyberRobot Updated the topic title 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 Quote 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+ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.