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"; ?> Link to comment https://forums.phpfreaks.com/topic/282779-unexpected-email-t_variable/ Share on other sites More sharing options...
kicken Posted October 7, 2013 Share Posted October 7, 2013 You forgot a ; at the end of line 4 Link to comment https://forums.phpfreaks.com/topic/282779-unexpected-email-t_variable/#findComment-1452938 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.