Because I was posting a page to itself
I would first check to see if the item was set...
if (isset($_POST['iquote'])){
}
to keep the function from running when the page is refreshed I was told to...
if (isset($_POST['iquote])){
header('Location: '.$_SERVER['PHP_SELF'].'?iquote='.$iquote);
}
How do you handle it if someone clicks the submit button without entering any data?
if (isset($_POST['iquote'])) && $_POST['iquote'] <> empty(){



Reply With Quote


Bookmarks