loren646 Posted February 20, 2013 Share Posted February 20, 2013 I am using two tables. "Landlord Table" is a 2 column table. column 1 = "Landlord name" and column 2 ="buildings". "buildings" are set as a primary key. All data from this table is displayed under "Landlord Table" on bottom of page at: http://responsiblyvodka.com/tester.php Problem: I want to add available apartments into a NEW table for potential renters. Instead of searching through all the buildings like I currently have at top in the second combobox. I want to click the landlord name i.e. "ABC" and only have 3 building addresses show up in the combo next to it. Quote Link to comment https://forums.phpfreaks.com/topic/274716-how-do-i-filter-out-items-should-be-simple/ Share on other sites More sharing options...
fenway Posted February 21, 2013 Share Posted February 21, 2013 MySQL doesn't know about clicks -- what are you actually trying to achieve? Quote Link to comment https://forums.phpfreaks.com/topic/274716-how-do-i-filter-out-items-should-be-simple/#findComment-1413761 Share on other sites More sharing options...
Barand Posted February 24, 2013 Share Posted February 24, 2013 You said you are using two tables but then only mention landlord table. Can you give us the structure of these tables and some sample data? Quote Link to comment https://forums.phpfreaks.com/topic/274716-how-do-i-filter-out-items-should-be-simple/#findComment-1414524 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.