Hi,
Oder kann ich den Abfrage String erzeugen?
du könntest implode verwenden um die Einträge mit Komma voneinander getrennt auf einen String zu bringen und dann den IN-Operator zu benutzen:
SELECT feld1, feld2 FROM tabelle WHERE id IN ( $idstring )
Der LIKE-Operator wird dich nicht weiterbringen, oder du hast was vor das mir gerade nicht einleuchtet.
MfG
Rouven
--
-------------------
He is entertaining both out of the car and in the car because if you tell him that a corner is almost flat then he is the guy who is going to try to take it flat even if it means shunting it the other side of it, he will come with the data and say 'hey, I may have crashed and destroyed the car, but I was flat-out'. That is an interesting quality that he has! -- Team Member on Jacques Villeneuve
-------------------
He is entertaining both out of the car and in the car because if you tell him that a corner is almost flat then he is the guy who is going to try to take it flat even if it means shunting it the other side of it, he will come with the data and say 'hey, I may have crashed and destroyed the car, but I was flat-out'. That is an interesting quality that he has! -- Team Member on Jacques Villeneuve