|
|
 |
Re: FN-FORUM: PHP if null show this instead of that +
date posted 24th August 2007 13:50
Missing bracket [ ?
print 'Update';
On 24 Aug 2007 13:16:10 -0000, PuntersPower [EMAIL REMOVED] wrote:
>
> 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
>
> |
 |
|