Code: Select all
<select name="Top">
<option value="biological, text here">first option</option>
Now when I pass the value to the php file I want to be able to print separately biological from text here
how do I do This
Moderators: egami, macek, gesf
Code: Select all
<select name="Top">
<option value="biological, text here">first option</option>
juansoul wrote:this is what I need to do I have a html drop down menu on the value for the first option isCode: Select all
<select name="Top">
<option value="biological, text here">first option</option>
Now when I pass the value to the php file I want to be able to print separately biological from text here
how do I do This
Code: Select all
<select name="Top">
<option name="info" value="biological, text here">first option</option>
DutchBen wrote:Also take a look at the explode function at php.net