note 48713 deleted from function.mysql-free-result by cece
| From: | cece@php.net | Date: | Wed, 05 Jan 2005 12:30:51 +0000 |
| Subject: | note 48713 deleted from function.mysql-free-result by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-82762@lists.php.net to get a copy of this message | ||
Note Submitter: 123 at go dot de
Reason: useless example
----
<html>
<head>
<title>Erfassen</title>
</head>
<body>
<?php
include('db_connect.php');
$querystring = "SELECT * from pkwtyp";
$result = mysql_query($querystring);
?>
<form action="PKW_eintragen.php" method=post>
<table cellspacing=2 cellpadding=2>
<tr>
<td>Kennzeichen:
<input type=text name="kennzeichen"></td>
</tr>
<tr>
<td>Zulassungsdatum:
<input type=text name="zulassungsdatum"><br><br></td>
</tr>
<tr>
<td>Bitte Hersteller/Modell auswählen:<br>
<select name="box" size="5" width="20">
<?
while($row = mysql_fetch_row($result)){
echo "<option value=$row[0]>$row[1] - $row[2]</option>";
}
?>
</select>
</td>
</tr>
<tr><td>
<input type=submit name=absenden value="Eintragen"></td></tr>
</table>
</form>
<br><br>
<a href="anzeigen.php">Anzeigen</a>
</body>
</html>