\n"; $sql = "SELECT instr_id,instr_name,instr_pic, pic_width FROM instrumente ORDER BY instr_name"; $rs = mysql_query($sql,$mydb); if (!$rs) die("Falsches SQL-Statement"); while ($aZeile = mysql_fetch_array($rs)) { echo "\n"; echo ""; echo ""; if ($aZeile["instr_id"]!=$id) { echo ""; echo htmlentities($aZeile["instr_name"]); echo ""; } else echo htmlentities($aZeile["instr_name"]); echo ""; } echo ""; mysql_free_result($rs); } ?>head
Falsches SQL-Statement