"Fire Juggler" <firejuggler@firejugglers.34sp.com> wrote in message
news:d1ug7g$i8o$1@newsg1.svr.pol.co.uk...[color=blue]
> I have a form in one file, then in another file i have
> if ((($name=="")||(($userEmail=="")&&($address==""))) &&($enquiry==""))
> {$error3="<font face=\"Arial\" color=\"#FF0000\"><strong>Name, at least[/color]
one[color=blue]
> set of contact details, and enquiries are required:</strong></font><br>";
> include("enquiries.php");}
> else
> {
> if (($name=="")||(($userEmail=="")&&($address=="")))
> {$error3="<font face=\"Arial\" color=\"#FF0000\"><strong>Name, at least[/color]
one[color=blue]
> set of contact details, and enquiries are required:</strong></font><br>";
> include("enquiries.php");}
> else
> {
> if ((($name!="")&&(($userEmail!="")||($address!=""))) &&($enquiry==""))
> {$error3="<font face=\"Arial\" color=\"#FF0000\"><strong>No enquiries were
> entered. Please enter an enquiry before continuing.</strong></font><br>";
> include("enquiries.php");
> }
>
> how would i do this using the $_POST function?
>
>[/color]
if
((($_POST["name"]=="")||(($_POST["userEmail"]=="")&&($_POST["address"]==""))
)&&($_POST["enquiry"]==""))
http://us4.php.net/manual/en/languag...s.external.php
hth,
John T. Jarrett
in Houston