I'm not exactly sure where things break for you but here is some simple html code for a drop down menu that shows values with single and double quotes. This would be code in the form1.html file. Note the use of " in place of " and double quotes surrounding the single quote.
If you would like me to debug this further, send me an example form1.html and process.php that fail.
I guess my reply got translated. Note the use of & q u o t instead of ". I specifically put in spaces to avoid translation.
<option value="3'3 & q u o t;">3'3"</option>
<option value="3'5 & q u o t;">3'5"</option>
<option value="4'5 & q u o t;">4'5"</option>
<option value="6'10 & q u o t;">6'10"</option>
<option value="10'9 & q u o t;">10'9"</option>
</select></p>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to create a form that lists height as one of the fields. Without even thinking that this would screw things up, I went ahead and did it.
Is there a way to modify the form now that it's created with single and double quotes in a drop down menu?
I wanted to use:
3' (3 Foot)
3'1"
3'2"
3'3"
You get the picture. However when the form was generated, it only puts:
3\\
3\\
3\\
3\\
I am trying to find a way around that, any help would be appreciated.
THANKS!
Mike
I'm not exactly sure where things break for you but here is some simple html code for a drop down menu that shows values with single and double quotes. This would be code in the form1.html file. Note the use of " in place of " and double quotes surrounding the single quote.
If you would like me to debug this further, send me an example form1.html and process.php that fail.
<form method="POST" action="process.php">
<p><select size="1" name="D15">
<option value="3'3"">3'3"</option>
<option value="3'5"">3'5"</option>
<option value="4'5"">4'5"</option>
<option value="6'10"">6'10"</option>
<option value="10'9"">10'9"</option>
</select></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
Any reason why?
I guess my reply got translated. Note the use of & q u o t instead of ". I specifically put in spaces to avoid translation.
<option value="3'3 & q u o t;">3'3"</option>
<option value="3'5 & q u o t;">3'5"</option>
<option value="4'5 & q u o t;">4'5"</option>
<option value="6'10 & q u o t;">6'10"</option>
<option value="10'9 & q u o t;">10'9"</option>
</select></p>