Would this query be correct?
Moderator: General Moderators
-
anthony88guy
- Forum Contributor
- Posts: 246
- Joined: Thu Jan 20, 2005 8:22 pm
Would this query be correct?
Can you use less/greater then or equal to in your query?
Last edited by anthony88guy on Thu May 12, 2005 6:08 pm, edited 1 time in total.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Code: Select all
mysql_query("SELECT * FROM farms WHERE defenceaction <= '$fdefenceaction' && armysize >= '$farmysize'") or die(mysql_error());