Hi,
$sql = "SELECT * FROM hunde WHERE age >= 3 AND age <= 8 AND rasse LIKE '.$anglo.' AND preis >= 4001 AND preis <= 8000";
Hab ich mal wieder was übersehen?
SELECT * FROM hunde WHERE age >= 3 AND age <= 8 AND rasse LIKE Anglo AND preis >= 4001 AND preis <= 8000
Unknown column 'Anglo' in 'where clause'
Die Meldung kann nicht kommen, wenn du wirklich oben stehende Query an die DB abgesendet haettest - also hast du das wohl nicht getan.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“