Now it's working but I need put more one data into selection.
$sql=("SELECT * FROM garantiid WHERE garantii='$garant' WHERE stamp>=
$lowtime AND stamp<= $hightime");
The second where in't right but how I can select first data garantii and
then by time? Not ORDER BY
Kalvi
hello,
you can't write 2 WHERE clause in a single query ...
try to write something like that :
$sql= "SELECT * FROM garantiid
WHERE garantii='$garant'
AND stamp>= $lowtime
AND stamp<= $hightime";
hope it'll help
J.
In that case you can better use BETWEEN
--
Slechte webdesigners? Geef ze hier aan:
http://webdesignert.vectoris.nl/
Now everything is ok.
Kalvi
"Rick" <spam...@chello.nl> wrote in message
news:A3Mya.110864$me2.13...@amsnews02.chello.com...