Any reason why this won't flag an empty field as an error?
<PRE>// verify input.
if (!$cn || !$n || !$mail || !$home || !$street || !$city || !$state || !$country) {
DisplayErrMsg(" Error: All the fields are mandatory.") ; //msg function.
exit() ;
}</PRE>
is the ! (NOT) symbol not recognised in php, I thought it was?? I'm on a server using php4, btw.
<PRE>// verify input.
if (!$cn || !$n || !$mail || !$home || !$street || !$city || !$state || !$country) {
DisplayErrMsg(" Error: All the fields are mandatory.") ; //msg function.
exit() ;
}</PRE>
is the ! (NOT) symbol not recognised in php, I thought it was?? I'm on a server using php4, btw.