ares Posted November 28, 2008 Share Posted November 28, 2008 Hi guys, I am new to PHP/MySQL and am having some problems with a query. I have a form where the user selects one option from Application or Business Area. Each application only belongs to one business area and each business area can have multiple application. this is fed into a seesion according to what the user selected. this information is then used to create the report. The problem is that when the user selects to produce a report on just one application, the query reads what business area it belongs to and outputs all the applications in that business area and not just the selected one. how do i tell it to only read what was selected. if you need to see the code, let me know any help will be very much appreciated. thanks Quote Link to comment https://forums.phpfreaks.com/topic/134620-running-the-same-query-with-diff-criteria/ Share on other sites More sharing options...
Mchl Posted November 28, 2008 Share Posted November 28, 2008 Your description is to vague. Give some examples. Paste table structure. Show your current code etc... The more information you give, the higher probability of your getting answers. Quote Link to comment https://forums.phpfreaks.com/topic/134620-running-the-same-query-with-diff-criteria/#findComment-700910 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.