我试图在下拉后添加一些空间,但它不起作用......
PHP
<?php
$connect = mysql_connect("server","username","") or die("Error connecting to MYSQL");
mysql_select_db("database") or die("Error connecting to database");
$result = mysql_query("SELECT * FROM table ORDER BY column ASC");
"<select name='drpdwn'>";
while ($row = mysql_fetch_array($result)) {
echo "<option value=" .$row['col1'] . ">".$row['col1'] ."</option>";
}
echo "<br/>";
echo "";
?>
<br/>
<input type="submit" id="thisSbmit" value="Delete Contact" onClick="chck()"> <input type="button" id="cls" class="cls" value="Clear">
这是我添加<br>
了两次和一次空白的代码,但它不起作用..