RE: [PHP] check null value

2001-01-23 Thread Cal Evans
PROTECTED]] Sent: Tuesday, January 23, 2001 3:18 PM To: [EMAIL PROTECTED] Subject: [PHP] check null value 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

Re: [PHP] check null value

2001-01-23 Thread CC Zona
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

[PHP] check null value

2001-01-22 Thread [EMAIL PROTECTED]
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? if ($fieldname == ""){ $fieldname ="na"; } ... (then come to the html bit below) I wonder specifi