korrupt_23 Posted November 18, 2003 Share Posted November 18, 2003 Well, I\'m attempting to use a query to select a column and check if it\'s = to a number. I have a vague idear, but it doesn\'t seem to wanna work... Thanks in advanced everyone, all this small question really help me. Quote Link to comment https://forums.phpfreaks.com/topic/1386-less-than-or-equal-to/ Share on other sites More sharing options...
mtoynbee Posted November 18, 2003 Share Posted November 18, 2003 SELECT * FROM table WHERE number = 1 replace \"table\" with the name of your table and \"number\" to name of the column you wish to check Other examples: Less than: SELECT * FROM table WHERE number < 1 Greater Than: SELECT * FROM table WHERE number > 1 Between SELECT * FROM table WHERE number BETWEEN 1 AND 3 Quote Link to comment https://forums.phpfreaks.com/topic/1386-less-than-or-equal-to/#findComment-4586 Share on other sites More sharing options...
korrupt_23 Posted November 19, 2003 Author Share Posted November 19, 2003 Thanks man! Quote Link to comment https://forums.phpfreaks.com/topic/1386-less-than-or-equal-to/#findComment-4618 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.