Jump to content

html to php


brown2005

Recommended Posts

					<form action="" method="post" name="drop">'; ?>

					<select name="link"  style="font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 11px; width:108px" onchange="if (this.options[selectedIndex].value != '') location.href=this.options[selectedIndex].value">

<?	echo'					<option>Quick Links          </option>				
						<option> </option>					
						<option value="index.php?page=home">Home</option>
						<option> </option>					
						<option value="index.php?page=test">test</option>

					</select>

				</form>

 

how can i write all the code above in php please

Link to comment
https://forums.phpfreaks.com/topic/92516-html-to-php/
Share on other sites

This is the only line that isn't PHP:

<select name="link"  style="font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 11px; width:108px" onchange="if (this.options[selectedIndex].value != '') location.href=this.options[selectedIndex].value">

 

I don't see what you gain by including that as part of the PHP, so I have to wonder why you're asking to do this?

Link to comment
https://forums.phpfreaks.com/topic/92516-html-to-php/#findComment-474037
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.