I would try:
if (isset($fieldname) && empty($fieldname)){
// do something here with the variable
} else {
$fieldname="na";
} // if (isset($fieldname) && empty($fieldname))
Cal
http://www.calevans.com
-Original Message-
From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, J
In article <019301c08581$e9504080$6400a8c0@alsmpdc>,
[EMAIL PROTECTED] ("Jacky@lilst") wrote:
> If I have one input text box that when it is submitted to next page, I want
> to check first if it is nothing, then write "na" on next page, else just
> echo whatever it is, is it correct to do this
2 matches
Mail list logo