Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

id from one table showing value from another

New Here ,
May 01, 2006 May 01, 2006
I have an article id (rs_comments.id_com) but I would like it to take this data and collect the value from another table.

I have joined the two tables with:
SELECT * FROM blg_comment_com INNER JOIN blg_article ON idart_com=id_art
WHERE valid_com=1
ORDER BY date_com DESC

rs_comments.idart_com needs to be equal to rs_comments.id_art displaying the value from rs_comments.title_art

How would I go about doing this. There only seems to be an option in DW to do this with a dynamic list/menu but I just want to display the text without option to change it.

Any help much appreciated.

TOPICS
Server side applications
231
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 02, 2006 May 02, 2006
LATEST
i was stupid. The answer was staring me in the face. No wonder no-one bothered to reply...
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines