Jump to content

Simple Login Tutorial Fatal Error


debmc99

Recommended Posts

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!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...