Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

join two table and print one result

$
0
0
Hi,
i have two table for article and setting. in article table i put id,title,date ..etc and in settings table, i have row with name featuredarticle and value put id of article with separate comma for featured articles. now i need to list/print my featured article only. how to ?

TABLE articles:
ID | TITLE | DATE | PUBLISH
1
2
3
4
5


TABLE settings / row featuredarticle:(in screen u see title / value)

1,7,16


Posted Image

NOTE: i now this bad design, but i custom the any modules of cms And I have no choice.

Thanks For Any Help

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>