Hallo,
My portfolio operates as planned on my local computer. I loaded all the php files and import the database tables correctly. I have checked if all the files came accross - php files and SQL tables. When accessing it via the URL on the web, the part where no login is need works correctly. When I try to login with incorrect username it displays error message as programmed. BUT when I login with correct username and password the process stops and redirects me to the website of the freewebhosting area. Is the problem perhaps connected to cookies? or does it drop the session perhaps. I include my session coding.
Language: PHP
$SQL = "SELECT * FROM login WHERE username = $uname && password = $pword";
?>
EDITED: DO NOT POST ALL CODE>>>>
Any help please?
Van Zyl