Guldstrand Posted February 26, 2011 Share Posted February 26, 2011 I need some help on how to search in two different mysql tables, and then show the results sorted/ordered by the tables. RESULTS: Tabel 1 # ... # ... Tabel 2 # ... # ... Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/228966-search-in-two-different-mysql-tables/ Share on other sites More sharing options...
jcbones Posted February 26, 2011 Share Posted February 26, 2011 Look Here Link to comment https://forums.phpfreaks.com/topic/228966-search-in-two-different-mysql-tables/#findComment-1180163 Share on other sites More sharing options...
Guldstrand Posted February 26, 2011 Author Share Posted February 26, 2011 Look Here Thanks for the fast reply... I have already looked at that page, but i couldn´t understand much. Link to comment https://forums.phpfreaks.com/topic/228966-search-in-two-different-mysql-tables/#findComment-1180165 Share on other sites More sharing options...
jcbones Posted February 27, 2011 Share Posted February 27, 2011 Sorry, without more info, that is all I can give you. Link to comment https://forums.phpfreaks.com/topic/228966-search-in-two-different-mysql-tables/#findComment-1180220 Share on other sites More sharing options...
sasa Posted February 27, 2011 Share Posted February 27, 2011 use two query or use UNION of two query Link to comment https://forums.phpfreaks.com/topic/228966-search-in-two-different-mysql-tables/#findComment-1180390 Share on other sites More sharing options...
Guldstrand Posted February 27, 2011 Author Share Posted February 27, 2011 use two query or use UNION of two query I have thought about using UNION, but i´m not sure how. Any chance of an example code? Link to comment https://forums.phpfreaks.com/topic/228966-search-in-two-different-mysql-tables/#findComment-1180416 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.