So I put together a simple script, basically here is what it does:
PSEUDOCODE
if isset(POST['var'])
{
Insert var into sql db
}
Display all vars in sql db
print '<form action="form.php" method="post">';
print 'Crate Name: <input type="text" name="var">';
print '<input type="submit" name="submit" value="Add Var">';
print '</form>';
Now, the first time I go to this page, it works fine. The var is recognized and is added to the db. It then brings back the page allowing me to add another var showing the list with the newly added var. Now when I try to add another, isset(POST['var']) never returns true again.
It will work again, if I reenter the website address as if it is the first time I have visited. Any ideas? I am completely stumped.
Thanks