Insert failed: '.mysql_error().'

'; } } if (isset($_GET['delete'])) { $delete = mysql_query('DELETE FROM adressen WHERE id='.$_GET['delete']); if (!$delete) { echo '

Could not delete '.$_GET['delete'].': '.mysql_error().'

'; } } $orderby = 'id'; if (isset($_GET['orderby'])) { $orderby = urldecode($_GET['orderby']); } $result = mysql_query('SELECT * FROM adressen ORDER BY "'.$orderby.'" ASC'); if (!$result) { die('Database error: Unable to get table (order by: '.$orderby.')'); } function getSortingLink($row, $title) { return ''.$title.''; } ?>
"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t\t"; echo "\t\t"; } ?>
\t\t\t\t".$row['id']."\t\t\t\t\t\t\t".$row['Vorname']."\t\t\t\t\t\t\t".$row['Nachname']."\t\t\t\t\t\t\t".$row['Anschrift']."\t\t\t\t\t\t\t".$row['PLZ']."\t\t\t\t\t\t\t".$row['Ort']."\t\t\t\t\t\t\t".$row['Telefon']."\t\t\t\t\t\t\t".$row['Tel_alt']."\t\t\t\t\t\t\t".$row['Tel_Mobil']."\t\t\t\t\t\t\t".$row['eMail']."\t\t\t\t\t\t\t".$row['eMail_alt']."\t\t\t\t\t\t\t".$row['Geburtstag']."\t\t\t\t\t\t\t".$row['Gruppe']."\t\t\t\t\t\t\t".$row['Bemerkung']."\t\t\t\t\t\t\tedit\t\t\t\t\t\t\tdel\t\t\t
Vorname Nachname Anschrift PLZ Ort
Tel. privat Tel. geschäftlich Tel. mobil E-Mail privat E-Mail geschäftlich
Geburtstag Gruppe Bemerkung