PHP HELP!
PHP HELP!
Out of context: Reply #6
- Started
- Last post
- 7 Responses
- welded0
$html .= '[select name="email"]';
while($row = mysql_fetch_array($r esult)){
$html .= '[option value="' . $row['email'] . '"]' . $row['email'] . '[/select]\n';
}
$html .= '[/select]';echo $html;
There may be a syntax error or two here, but this will do the trick. You'll still need the db connection code.