lewashby Posted October 7, 2013 Share Posted October 7, 2013 In the following program I'm getting the error listed as my title when I run the page. Any ideas? It says the problem is on line 6 <?php session_start(); include "resources.php" $email = $_SESSION['email'] = $_POST['email']; $psswd = $_SESSION['psswd'] = $_POST['psswd']; if(querymatch($email, $psswd)) { header("location: ./changepassword.html"); break; } echo "Unknown username and or password"; ?> Quote Link to comment https://forums.phpfreaks.com/topic/282779-unexpected-email-t_variable/ Share on other sites More sharing options...
Solution kicken Posted October 7, 2013 Solution Share Posted October 7, 2013 You forgot a ; at the end of line 4 Quote Link to comment https://forums.phpfreaks.com/topic/282779-unexpected-email-t_variable/#findComment-1452938 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.