Jump to content

New bie: dynamically populate html drop down


dkhanna01

Recommended Posts

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 ?

 

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.