Hi,
warum geht das [...] aber das nicht?
Eine andere Frage: Wieso kommst du uns mit "funzt nich", obwohl du doch gelesen hast, dass das bloedsinnig ist?
Und wieso betreibst du kleinerlei sinnvolles Debugging?
$sql=mysql_query("SELECT art FROM table WHERE id = '$_POST[number]'");
Kontrollausgabe dieser zusammengebastelten Query [1] ergibt was?
[1] Nach Umschreibung in eine zum Debugging sinnvolle Form:
$query = "SELECT ...";
$sql = mysql_query($query);
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“