in_array()
| From: | hans at linux dot gelrevision dot nl | Date: | Sun, 24 Jun 2001 17:24:46 +0000 |
| Subject: | in_array() | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-969@lists.php.net to get a copy of this message | ||
Hi all,
Just a small question since I'm not sure what's the best way to deal with it.
I'm building a page that holds several select boxes (two of them can hold
multiple values). When one uses this page to edit things it should display it's
original values (retreived from a db). As far as I know I could solve this by
passing the original <option value="integer">\n (with a selected in it if it's
needed) to a string. Since I don't like to store pure html within my php I
would like to know if there is any in_array() function within smarty that I
didn't discover.
Anyone?
Regards,
Hans
--
Linux : http://linux.gelrevision.nl/
phpReview : http://phpReview.nl.linux.org/
Boeken : http://nl.linux.org/boeken/