Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~108 People Reached
Favorite Forums
Favorite Tags
php x 11
Member Avatar for novice2

I have two tables table 1 idn ......1..........2 name....john......mary table2 id......1...........2.........3...........4 colors..white......red.......blue.......green idn......1..........2.........1...........1 I have my query SELECT * FROM table1,table2 WHERE table1.idn=table2.idn and I want to get results like this: name...........colors --------|------------- john....|...white ........|...blue ........|...green mary....|...red So if anyone can help me with php code to achive this result?

Member Avatar for novice2
0
108