Posted by Juan Jos Gutirrez de Quevedo Prez on 04/12/06 17:18
El Wed, 12 Apr 2006 08:54:03 -0500
Karl escribió:
> The form submits to itself to do validation based on whether or not
> $_REQUEST['submit'] isset.
well, you could just add a hidden field and check for it instead.
<input type="hidden" id="issubmiting" value="1"/>
and then in your code
if(isset($_POST['issubmiting'])&&$_POST['issubmiting']=='1')
{
//process the form
}
--
Juan José Gutiérrez de Quevedo
Director Técnico (juanjo@iteisa.com)
ITEISA (http://www.iteisa.com)
942544036 - 637447953
Navigation:
[Reply to this message]
|