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. 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? 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 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. Link to comment https://forums.phpfreaks.com/topic/139406-solved-multiple-where-conditions/#findComment-729463 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.