looking for some solutions? You are welcome.

SOLVED: how to get values from two different tables which do not have any connection

Phyo Tayzar Htet:

I need to get

  1. question
  2. ans1
  3. ans2
  4. ans3
  5. ans4 from question table and
  6. answerAry from answer table TOGETHER.

Here is how my tables look like: question qid question ans1 ans2 ans3 ans4 answer ans_id answerAry

What I want is:
question, ans1, ans2, ans3, ans4, and answerAry WHERE ans_id = :id



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
Share:

No comments:

Recent