help me with php drop down menu
<form action="index.php?hits=2e8a0bb17f03dcc589eed34f4876f60c" method="get"><select name="show"><option value="forum">Forum</option><option value="book">Bookmark</option><option value="cpanel">Cpanel</option><option value="allb">BLogs</option><option value="inbox">Inbox</option><option value="clmenu">Grops</option><option value="gallery">GaLLery</option><option value="ext">Extra Menu</option><option value="search">Search Menu</option><option value="stats">Stats</option></select><input type="hidden" name="hits" value="2e8a0bb17f03dcc589eed34f4876f60c"/><input type="submit" value="[GO]"/></form>drop down menu
Started on the old forum in April 2011 · view the original in the archive · old links redirect here
you want to transform that html code in php ? or...? give more info...
<select name=”show”>
<?php
$a=array(“Forum”,”Bookmark”,”Cpanel”,”BLogs”,”Inbox”,”Grops”,”GaLLery”,”Extra Menu”,
“Search Menu”,”Stats”,”will be...”,”continuing...”);
foreach($a as $a=>$i){
echo “<option value=$i>$i</option>”;
}
?>
</select>
The LORD is my shepherd, i shall not be in want. He makes me lie down in green pastures, he leads me beside quiet waters, he restore my soul. He guides me in path of righteousness for his name's sake. Even though i walk through the valley of shadow of death, i will fear no evil for you are with me.
try this...
The LORD is my shepherd, i shall not be in want. He makes me lie down in green pastures, he leads me beside quiet waters, he restore my soul. He guides me in path of righteousness for his name's sake. Even though i walk through the valley of shadow of death, i will fear no evil for you are with me.
and zip archive..
The LORD is my shepherd, i shall not be in want. He makes me lie down in green pastures, he leads me beside quiet waters, he restore my soul. He guides me in path of righteousness for his name's sake. Even though i walk through the valley of shadow of death, i will fear no evil for you are with me.
echo "<form action="LINK GOES HERE" method="post">" ; echo "my answer is: " ; echo "<select name="answer" value="">" ; echo "<option value="yes">YES</option>" ; echo "<option value="no">NO</option>" ; echo "</select>" ;