Seperate Sizes
Posted: Sun Apr 09, 2006 12:37 pm
Hi
I`m creating a website which pulls sizes of shoes via a database, the problem is that its stored as text like: 4,5,6,7,8,9,10 etc
How can I seperate the numbers and add them to a drop down and the code would be something like:
Thanks
I`m creating a website which pulls sizes of shoes via a database, the problem is that its stored as text like: 4,5,6,7,8,9,10 etc
How can I seperate the numbers and add them to a drop down and the code would be something like:
Code: Select all
<form method="POST" action="">
<select size="1" name="Size">
<option selected>Please Select Size</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
</select>
</form>