enum('part1','...')
| From: | John Taylor-Johnston | Date: | Tue, 24 Feb 2004 03:57:35 +0000 |
| Subject: | enum('part1','...') | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-178630@lists.php.net to get a copy of this message | ||
Basically I have an enum field. I would like to extract the parts of the field to create some html.
district enum('part1','part2','part3','part4')
while (district??)
{
echo "<a
href=\"page.htm#".district[0]."\">".district[0]."</a>
}
<a href="page.htm#part1">part1</a>
<a href="page.htm#part2">part2</a>
<a href="page.htm#part3">part3</a>
<a href="page.htm#part4">part4</a>
Can I even do this? How?
J