I have a database with numbers in one of the tables I'd like to ask mysql to renturn all numbers with say 10 of mynumber Sort of like this: $sql = "SELECT rowid FROM numbers WHERE (mynumer is within 10 of number)"; but I've gotten stuck do I have to do this: $sql = "SELECT rowid FROM numbers WHERE (((mynumer+10) < number) AND (mynumer-10) > number) )"; it seems kinda wordy ... Susan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- Re: [PHP] Security of PHP code ReDucTor
- Re: [PHP] Security of PHP code Christian Reiniger
- RE: [PHP] Security of PHP code Tim Taubert
- RE: [PHP] Security of PHP code Tim Taubert
- RE: [PHP] Security of PHP code PHPBeginner.com
- RE: [PHP] Security of PHP code Tim Taubert
- RE: [PHP] Security of PHP code PHPBeginner.com
- RE: [PHP] Security of PHP code Tim Taubert
- RE: [PHP] Security of PHP cod... Tim Taubert
- Re: [PHP] Security of PHP cod... Delbono
- Re: [PHP] writing a query that returns... [EMAIL PROTECTED]
- Re: [PHP] writing a query that re... Chris Anderson
- RE: [PHP] writing a query tha... Matthew Loff
- Re: [PHP] writing a query that re... mike cullerton
- RE: [PHP] Security of PHP code Adrian Ciutureanu
- RE: [PHP] Security of PHP code Tim Taubert
- RE: [PHP] Security of PHP code Rasmus Lerdorf
- RE: [PHP] Security of PHP code Christopher Ostmo
- RE: [PHP] Security of PHP code Richard Heyes
- RE: [PHP] Security of PHP code Hankley, Chip
- Re: [PHP] Security of PHP code Delbono