At 9:43 PM -0500 12/20/09, Ernie Kemp wrote:
I need help in in validating a form.
all the fields are filled in its valaded be PHP.
The Form starts with:
<form name="myForm" action="<?php echo
$_SERVER['PHP_SELF'];?>" method="post" onsubmit='return
missing information in this case BUT then the page gets reloaded and
The PHP only runs if the fields are set by testing using 'isset".
Without puting on numeric lines of go can you suggest things I must
have overlooked. Silly request but there must be something I'm
overlooking. I have simular code on other programs but this one
is casuing me trouble.
Thanks every so much..
problems a user might have, but once the form is submitted to the
server, then the data is sent and evaluated server-side, hence
However, if the server-side evaluation fails and the page is
refreshed, then all the previous values are lost -- UNLESS -- you
keep them in a cookie, database, or session. I suggest using a
http://sperling.com http://ancientstones.com http://earthstones.com
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php