Re: [PHP] Question re: JOIN statement PHP/MySQL

2001-05-11 Thread bill
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

[PHP] Question re: JOIN statement PHP/MySQL

2001-05-11 Thread John E. Haag
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