debmc99 Posted July 22, 2010 Report Share Posted July 22, 2010 Hello, I am doing the simple login tutorial. I am currently on video #3. When I test the login.php page I get this error: Fatal error: Call to undefined function mysql_report() in C:\wamp\www\my_php\login\login_project\includes\config.php on line 10 Here is the config.php code: <?php /* * LOGIN.PHP * Log in members */ //start session / load configs session_start(); include('includes/config.php'); include('includes/db.php'); include('views/v_login.php'); ?> I am using WAMP and Eclipse. Perhaps I don't have the path to the database configured correctly? Do I need to do something special in WAMP for that? Thank you! Quote Link to comment Share on other sites More sharing options...
falkencreative Posted July 22, 2010 Report Share Posted July 22, 2010 The code you posted is for your login.php page, not the config... however, off the top of my head, I believe you need to use "mysqli_report()" (note the "i"). If that doesn't work for you, post the config.php code. Quote Link to comment Share on other sites More sharing options...
debmc99 Posted July 22, 2010 Author Report Share Posted July 22, 2010 Sorry, that worked. Thanks. 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.
Note: Your post will require moderator approval before it will be visible.