|
|
 |
Re: FN-FORUM: PHP if null show this instead of that +
date posted 24th August 2007 14:09
that's a typo on my part sorry, it is $myrow[7]
>> 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 '> href="http://confirm_details.php?details=$myrow7]">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
>>
>>
> The code doesn't say "$myrow[7]" though, it says "$myrow7]"
>
> Is that the problem?
>
> --
> Artumi Systems, 58 Salmon Street, Sheffield, S11 8DD.
> Tel 0114 250 7654, Web http://www.artumi.com
> VAT Reg 889 0317 88
>
> --
> 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
>
> |
 |
|