dkhanna01 Posted September 1, 2009 Share Posted September 1, 2009 I have my code which says <form enctype='multipart/form-data' action='process.php' method='post'> <table border="1" cellspacing="1" style="border-collapse: collapse" bordercolor="#000066" width="95%" cellpadding="5"> <tr> <td colspan="3" bgcolor="#B5CBEF" height="17" width="100%" bordercolor="#FFFFFF" background="tile_back.gif"> <p align="left\><b><font face="Verdana" size="2" color="#FFFFFF"><img border="0" src="nav_m.gif" width="8" height="8"> <font face='Verdana' size=2 color='#FFFFFF'><b> <!- You can add a form title here --> </font><font face="Verdana" size="2" color="#000066"> </font></b></td> </tr><tr><td colspan="3" bgcolor="#B5CBEF" height="16" width="100%" bordercolor="#FFFFFF" background="tile_sub.gif"><font size="2" face="Verdana"><b><font face="Verdana" size="2" color="#000066"> <!- You can add a brief form description here--> </font></b></font></td></tr><tr><td colspan="3" bgcolor="#D6DFEF" height="16" width="100%" bordercolor="#FFFFFF"><font size="1" face="Verdana">Please fill in all fields marked with a *</font></td></tr><tr><td height="30" width="55" bgcolor="#EFF3F7" bordercolor="#FFFFFF"> <img border="0" src="bc_new.gif" width="28" height="28"></td><td height="30" width="189" bgcolor="#EFF3F7" bordercolor="#FFFFFF"> <font face="Verdana" size="2">Source Tag Name</td> <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF"> <font face="Verdana"><select name='SourceTagName'><option value='Source Tag'>Source Tag</select>*</td></tr><tr><td height="30" width="55" bgcolor="#EFF3F7" bordercolor="#FFFFFF"> <img border="0" src="bc_new.gif" width="28" height="28"></td><td height="30" width="189" bgcolor="#EFF3F7" bordercolor="#FFFFFF"> <font face="Verdana" size="2">Target Tag Name</td> <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF"> <font face="Verdana"><select name='TargetTagName'><option value='Target Tag'>Target Tag</select>*</td></tr><tr><td colspan="3" bgcolor="#B5CBEF" height="25" width="737" background="tile_sub.gif"><p align="center"><font face="Verdana" size="2"><input type=submit value='Submit Form'> <input type=reset value='Reset Form'></font></td></tr> </table></form> <br><br><a href='http://phpformgen.sourceforge.net'><img src='button.jpg' border=0></a> ~ Now I have this drop down list and I'm populating this list like this: "><select name='TargetTagName'><option value='Target Tag'>Target Tag</select>*</td> Now I Need to call a shell script to populate all the values dynamically, how can I do that in html code ? Link to comment https://forums.phpfreaks.com/topic/172756-new-bie-dynamically-populate-html-drop-down/ Share on other sites More sharing options...
waynew Posted September 1, 2009 Share Posted September 1, 2009 Do you know how to do loops in PHP and/or print out results from a database? Where are these values coming from? Link to comment https://forums.phpfreaks.com/topic/172756-new-bie-dynamically-populate-html-drop-down/#findComment-910563 Share on other sites More sharing options...
dkhanna01 Posted September 1, 2009 Author Share Posted September 1, 2009 As I said these values are comming from a shell script (after executing it) I can write a small code in PHP but then how can I call that php so that the values gets populated Link to comment https://forums.phpfreaks.com/topic/172756-new-bie-dynamically-populate-html-drop-down/#findComment-910580 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.