Quote:
|
Originally Posted by tcooper
Thank you very much for your help. I new there should be some type of if or function or something but just could not get it figured out. This really helps.
|
I use a simple way to do understand i think
You create a hidden field inside your form. Name it viewform or whatever!!
<form action= <?php print $_SERVER['PHP_SELF'] ?> method="post">
<?php
if (!isset($_POST[viewform])){
the form
RELY IMPORTANT
<input name=\"viewform\" type=\"hidden\" value=\"view\">
}
if($_POST[viewform] == "view"){
the send form procedure
}
?>
that should work