#1
Posted 08 December 2012 - 01:19 PM
i have 2 tables, one is "comments" table and the other is "articles" tables.
In the comments table there is a 3 columns (id, title, message) and in the articles table there is 3 columns too(id, title,info)
I would like is to get all the data of the column message from the table "comments" but the table "comments" got to have the same title of the column title of the column title of Articles table.
I dont no if im beign confusing, im sorry.
#3
Posted 08 December 2012 - 05:57 PM
Edited by madness69, 08 December 2012 - 05:58 PM.
#4
Posted 08 December 2012 - 06:57 PM
Did I help you out? Feeling generous? I accept tips via Paypal or Bitcoin @ 14mDxaob8Jgdg52scDbvf3uaeR61tB2yC7
#5
Posted 08 December 2012 - 07:01 PM
Here is the tables:
table comments:
- id;
- name;
- email;
- message;
-id_article;
table articles:
-id;
- title;
- contents;
Edited by madness69, 08 December 2012 - 07:13 PM.
#6
Posted 08 December 2012 - 07:10 PM
Did I help you out? Feeling generous? I accept tips via Paypal or Bitcoin @ 14mDxaob8Jgdg52scDbvf3uaeR61tB2yC7
#7
Posted 08 December 2012 - 07:18 PM
I would like is to get all the data of the column message from the table "comments" but the table "comments" got to have the same title of the column title of the column title of Articles table.
According to to OP all that is required is message column from comments table. I am totally confused about requirements here. It's later been established that title columns are the same so why mention that constraint.
|baaChart| easy line, column and pie charts
|baaSelect| generate js and php code for dynamic linked dropdowns
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












