SkyRanger Posted January 4, 2009 Share Posted January 4, 2009 Not sure if it is the late night or I am getting sick. I am having a problem. I need php to pull data from mysql where it has to equal 2 where conditions. where id=1 and where year=2009 Any help would be greatly appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/139406-solved-multiple-where-conditions/ Share on other sites More sharing options...
DarkWater Posted January 4, 2009 Share Posted January 4, 2009 Can you post the rest of your query? Quote Link to comment https://forums.phpfreaks.com/topic/139406-solved-multiple-where-conditions/#findComment-729207 Share on other sites More sharing options...
sasa Posted January 4, 2009 Share Posted January 4, 2009 where id=1 and year=2009 Quote Link to comment https://forums.phpfreaks.com/topic/139406-solved-multiple-where-conditions/#findComment-729215 Share on other sites More sharing options...
SkyRanger Posted January 4, 2009 Author Share Posted January 4, 2009 Thanks guys. That is what I had but wasn't displaying so went back and checked my entry and noticed that there was a typo. Thanks for you help. Quote Link to comment https://forums.phpfreaks.com/topic/139406-solved-multiple-where-conditions/#findComment-729463 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.