....
Was stimmt daran nicht?
Was stimmt daran nicht?
PHP-Code:
<?php
mysql_connect("localhost","usr","pass");
mysql_selectdb("usr_web21_1");
$eintragen = "INSERT INTO anmelden(vorname,nachname,wohnort,)VALUES ('$vorname','$nachname','$wohnort')";
$sql="SELECT * FROM anmelden ORDER BY vorname";
$sql_result=mysql_query($sql) or die(mysql_error());
while($daten=mysql_fetch_array($sql_result))
echo $daten['vorname'] . ", " . $daten['nachname'];
?>
Lg Lemmon
Kommentar