merlinuk11 Posted August 26, 2017 Share Posted August 26, 2017 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 8file in questionhttps://drive.google.com/open?id=0B0plHoklub_Aemx1b2hLei12dkE Quote Link to comment https://forums.phpfreaks.com/topic/304724-help-with-php-and-database/ Share on other sites More sharing options...
Solution Jacques1 Posted August 26, 2017 Solution Share Posted August 26, 2017 (edited) Read the manual. Can you see the big red warning sign which says that the function has been removed? This is not a joke. All mysql_* functions are absolete since almost 15(!) years. Whatever tutorial or book told you got this from, throw it away and look for recent information. We're using PDO now. Edited August 26, 2017 by Jacques1 Quote Link to comment https://forums.phpfreaks.com/topic/304724-help-with-php-and-database/#findComment-1550235 Share on other sites More sharing options...
merlinuk11 Posted August 26, 2017 Author Share Posted August 26, 2017 thank you for the help i am still new to all this so still finding the odd think thats a issue Quote Link to comment https://forums.phpfreaks.com/topic/304724-help-with-php-and-database/#findComment-1550236 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.