$a ist nicht $i.
Du hast natürlich recht!
$sql = "SELECT id, ".$i."_name FROM table"
Parse error: syntax error, unexpected ''.$i.'' (T_CONSTANT_ENCAPSED_STRING) in
und das ist die Fehlermeldung!
Andy
$a ist nicht $i.
Du hast natürlich recht!
$sql = "SELECT id, ".$i."_name FROM table"
Parse error: syntax error, unexpected ''.$i.'' (T_CONSTANT_ENCAPSED_STRING) in
und das ist die Fehlermeldung!
Andy