Jump to content

unexpected '$email' (T_VARIABLE)


lewashby

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.