Taobyby: Verweise auf Div Bereich

Beitrag lesen

$art_abf_typ = $_GET['art_abf_typ'];
$dbanfrage = "SELECT * from $tabelle WHERE art_typ='{$art_abf_typ}'";

wie einst fox mulder sagte: TRUSTNO1

$dbanfrage = sprintf( "SELECT * from $tabelle WHERE art_typ='%s'",
mysql_real_escape_string($art_abf_typ));

jo ok aber das hilft bei dem $_GET problem nicht weiter ist nur sicherer jetzt. ^^

Das gibt

print_r(error_get_last());

Array ( [type] => 8 [message] => Undefined index: art_abf_typ [file] => D:\xampp\htdocs\eyeoptics\index.php [line] => 149 )