Weil ich gerade mal wieder dabei bin Fehler zu übersehen, hier nun die nächste Aufgabe :-)
Code:
PHP-Code:
Line 14: if (isset($_POST[wahl]) && isset($_POST[auswahl])) {
Line 15: $satz = mysql_query("SELECT * FROM tfm_news WHERE newsid=$auswahl");
Line 16: $row = mysql_fetch_array($satz)or die (mysql_error());
Hier die Fehlermeldung:
Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/tfm/news/bearbeiten.php on line 16
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1