TheSky Posted August 20, 2011 Share Posted August 20, 2011 $query ="SELECT id,today,uuendus,username FROM u_data WHERE today < '$datex' AND uuendus='YES' ORDER BY id ASC"; i want select older then $datex all other code is correct i just want to know is WHERE today < '$datex' correct to use? Quote Link to comment https://forums.phpfreaks.com/topic/245317-need-little-help-about-db-select/ Share on other sites More sharing options...
voip03 Posted August 20, 2011 Share Posted August 20, 2011 its fine Quote Link to comment https://forums.phpfreaks.com/topic/245317-need-little-help-about-db-select/#findComment-1259973 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.