Re: option tags and WHILE
| From: | CC Zona | Date: | Mon, 20 Aug 2001 03:07:12 +0000 |
| Subject: | Re: option tags and WHILE | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63445@lists.php.net to get a copy of this message | ||
In article <20010820025346.3445.qmail@web13106.mail.yahoo.com>,
cgi_guy1313@yahoo.com (Cgi Guy) wrote:
> What's wrong with this code? I keep getting a parse
> error at the form/select lines...
> print ("<option value=\"$array[0]\">$array[1]</option>\n");
See if adding curly braces, {$array[1]}, doesn't work better for you.
--
CC