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 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 Link to comment https://forums.phpfreaks.com/topic/269773-help-with-baaselect/#findComment-1386968 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.