SELECT * FROM table1, table2 WHERE table1.user_id = table2.user_id
"John E. Haag" wrote:
> Hi,
>
> Can anyone tell me how to properly execute a JOIN from PHP to
> MySQL??
>
> I just want to JOIN two tables, both of which have 'user_id' in
> common, and then get all of the fields from the match
Hi,
Can anyone tell me how to properly execute a JOIN from PHP to
MySQL??
I just want to JOIN two tables, both of which have 'user_id' in
common, and then get all of the fields from the matching records.
Can anyone tell me where to find some info on this or cut-n'-paste
a little helpful code
2 matches
Mail list logo