|
|
 |
RE: FN-FORUM: PHP if null show this instead of that +
date posted 24th August 2007 13:58
You seem to have missed off the opening [ i.e. $myrow[7] not $myrow7]
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of
PuntersPower
Sent: 24 August 2007 15:16
To: FN-FORUM / [EMAIL REMOVED]
Subject: Re: FN-FORUM: PHP if null show this instead of that +
thanks to you guys I have this up and running, just one more thing which is
frustrating I have changed the icon to call the id of the record selected
form the table and pass it through to the next page
--------------------------
if ( $myrow[19] == NULL ) {
// value in field = null
// so show icon
print 'Update';
}
-----------------------
However the $myrow[7] isn't playing ball! I am guessing I need to put this
in something like [] or "" to get it to acutally work?
Andrew
--
Freelancers, contractors earn more with Prosperity4 Call 0870 870 4414 or
visit www.prosperity4.com and benefit from Inland Revenue approved expenses
today.
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|