RE: [phplib] Intervall Select-Abfrage From: Chris Johnson (chris <email protected>)
Date: 04/13/01

My German is not good, but perhaps this is what you want:
Ich kann deutsch nicht gut, aber vielleicht Sie möchten:

"Select ... Where (preisvon >= 50 And preisvon <= 100) And (preisbis >=
50 And preisbis <= 100);"

..chris

> -----Original Message-----
> From: RPfeif123 <email protected> [mailto:RPfeif123 <email protected>]

> Hallo und so,
> habe folgendes Problem:
> habe Tabelle mit z.b. 2 Felder: Preisvon und Preisbis
> jetzt möchte ich z.B. alle Datensätze die z.B. einen
> Preis von 50 DM bis 100 DM haben. Wie mache ich diese
> select-Abfrage?
> Habe folgendes versucht, aber funktioniert nicht:
> "select .. where (Preisvon >= $Preisvon and Preisbis <=
> $Preisbis) order by name);"
>
> Hat jemand ne Lösung?
>
> gruß Ralf

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>