[FX.php List] Solved half of my problem...

Bob Patin bob at patin.com
Fri Jul 7 22:51:42 MDT 2006


Well, i found half of the error:

I had to add a 2nd equal sign to my IF statement, like this:

<select name="Category">
<?php foreach($vlResult['valueLists']['categories'] as $key=>$value)  
{  /* THIS PULLS IN THE VALUE LIST */ ?>
<option value="<?php echo $value; ?>" <?php IF($value==$itemData 
['Category'][0]){?>selected<?php } ?>><?php echo $value; ?></option>
<?php } ?>
</select>

I added a 2nd equal sign in the 3rd line, in the IF statement...

So how do I write to a specific repetition?

Thanks,

Bob


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060707/bc3498ac/attachment.html


More information about the FX.php_List mailing list