here is my code:
<?php
foreach( $offers as $o )
{
print $o["thumbnail"];
?>
<?php if( $o["thumbnail"] ):?>
<br> <img src="<?php print $o["thumbnail"];?>
<? else: ?>
No Image
<?php endif;?>
<?php
} // end foreach
?>
My Results:
thumb1.gif
No Image
thumb2.gif
No Image
The array value $o["thumbnail"] has a value, and the value will print, but
if( $o["thumbnail"] )
evalutes to false
php 4.3.1 on Redhat 7.3
thx
B