Reply to Query Question

Your name:

Reply:


Posted by Chris on 09/29/05 17:13

Can anyone advise me or point me to examples where I might figure out
how to populate the pulldown below automatically with a query when the
page is first opened?

I have a database with the dogs names in there that I would very much
like to populate through a db query of that table versus having to
hardcode the box when changes occur. Database name=dogs and
table=dogs_tbl

<html>
<head>
<title>Dog Name Database Query</title>
</head>
<body>
<tr>
<td valign=top align=center width=400>
<font color=white>.</font><br>
<font color=black face=ARIEL><p>
<form method="" action="">
<center>
<table border="1">
<tr>
<td>Dog Name:</td>
<td><select name="dogname">
<option value = "all">All</option>
<option value = "spot">Spot</option>
<option value = "snoopy">Snoopy</option>
<option value = "oscar">Oscar</option> etc...
</select>
</td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit"
value="Submit"></td>
</tr>
</table>
</form><p>
</td>
</tr></table></center><p>
</body>
</html>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация