lional Posted October 22, 2012 Share Posted October 22, 2012 Hi I used BAASelect a couple of years ago. I would like to use it but I need to have a where clasue on the database. I want to use it to select province and town but only for a particular category. I want it to show only the province and towns relevant to the particular category. Thanks in advance Lional Quote Link to comment https://forums.phpfreaks.com/topic/269773-help-with-baaselect/ Share on other sites More sharing options...
Barand Posted October 22, 2012 Share Posted October 22, 2012 Looks like one of those rare occasions when I am the best qualified to answer a post The quickest workaround (without rewriting the class or creating a subclass) would be to create a temporary mysql table containing only those in that category then use that table instead CREATE TEMPORARY TABLE tmpprovince LIKE province SELECT * FROM province WHERE category = val Quote Link to comment https://forums.phpfreaks.com/topic/269773-help-with-baaselect/#findComment-1386968 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.