Hi Guys
I am probably doing something really silly here, but I can't see what exactly it is...
Basically, I want to redirect the user to 'index.php' after the user has logged in to the application....
I know that the connection to SQL is ok, because users can register without any trouble....So it can't be that.
All I can think is that I am perhaps calling the session variable, $_SESSION['customer_id']; , from the wrong place in the script.
What is currently happening is that the login form renders correctly on my VDU, but once the user has entered their details into the form, and clicked 'submit', a white screen appears (i.e. a blank page).
I have used this script a number of times before, and have not experienced this problem until now, so that makes it doubly frustrating....
The SQL format for the table 'customer' is:
customer_id (INT), email (VARCHAR), password (VARCHAR), card_number (BLOB)
Any pointers would be appreciated.
cheers.
Will