sql question(s)

From: Date: Sat, 19 Aug 2000 06:55:25 +0000
Subject: sql question(s)
Groups: php.general 
Request: Send a blank email to php-general+get-12569@lists.php.net to get a copy of this message
I need to select a range of number from a table and display them via html. I've got everything working but the select. When I use: select * from tableA where number >= X; I get those >= X . However when I try to grab a range say >=X <=Y I get the entire table. I am sure there's just a simple error here but I cannot figure it out. This same data is updated every evening. I want to keep at least 4 nights of data search able. Currently I am updating every night which wipes out the previous nights data. How would I go about keeping table data for a few days? thanks, Michael

« previous php.general (#12569) next »