konsu,
the form is a couple of pages back, session data is holding all the information that is entered in to the DB. after the query to insert the data is completed, i then unset the sessions. when the page is refreshed the only data entered will be unset variables, with the exception of the username, b/c i want to keep the user logged in and so not want to unset the username session.
lordshryku,
i do have a session_start(); statement, and it doesn't seem to be catching it.
here's my code...
<?
session_start();
//...
if ($_SESSION['check'] !== "yes"){
// query
$query = mysql_query(/* query */)
or die(mysql_error());
// Display Confirmation of Listing Creation
echo "Your data has been entered";
// DESTROY SESSION DATA FOR THE LISTING CREATED
unset($_SESSION['var']);
// Set check variable
$_SESSION['check'] = 'yes';
exit;
}else{
echo "Unfortunatly this pages content is private and cannot be accessed!";
}
?>
Thank-you for all the help!
-phence