I'm trying to do a PHP connection script, with form and data processing in the same page, but when I try my code I always get 2 errors :
Notice: Undefined index: password in C:\Users\Simon\Documents\Site FTM\connexion.php on line >7
Fatal error: Call to a member function fetch() on a non-object in C:\Users\Simon\Documents\Site FTM\connexion.php on line 18
I understand that PHP don't find the index called 'password' in $_POST, but I'm sure that the form is leading to the same page (#)... Can somebosy help me ? Here is the whole code, on PasteBin : http://pastebin.com/A9z1HHvf
Sorry, the error messages are in french, but all the other variable names are in english. You just need to know that $errDisplay is use to store all my custom error messages and display them at the bottom ofmy page.