Re: [PHP-DB] Accessing fields with the same name in MySQL

2001-09-04 Thread Joe Strano
[PHP-DB] Accessing fields with the same name in MySQL tbl_job --- id name_id job tbl_name id first last SQL --- select * from tbl_name, tbl_job where tbl_name.id = tbl_job.name_id; I use mysql_fetch_object to retrieve a row from the above result set. I have two

RE: [PHP-DB] Accessing fields with the same name in MySQL

2001-08-28 Thread Walter, Marcel
To: [EMAIL PROTECTED] Subject: [PHP-DB] Accessing fields with the same name in MySQL tbl_job --- id name_id job tbl_name id first last SQL --- select * from tbl_name, tbl_job where tbl_name.id = tbl_job.name_id; I use mysql_fetch_object to retrieve a row

[PHP-DB] Accessing fields with the same name in MySQL

2001-08-27 Thread Trevor Lanyon
tbl_job --- id name_id job tbl_name id first last SQL --- select * from tbl_name, tbl_job where tbl_name.id = tbl_job.name_id; I use mysql_fetch_object to retrieve a row from the above result set. I have two objects, objName and objJob. The constructor for both objects accept a

RE: [PHP-DB] Accessing fields with the same name in MySQL

2001-08-27 Thread Rick Emery
] Accessing fields with the same name in MySQL tbl_job --- id name_id job tbl_name id first last SQL --- select * from tbl_name, tbl_job where tbl_name.id = tbl_job.name_id; I use mysql_fetch_object to retrieve a row from the above result set. I have two objects, objName and objJob

RE: [PHP-DB] Accessing fields with the same name in MySQL

2001-08-27 Thread Howard Picken
']; Haven't tried it, but I think it would work. good luck Howard -Original Message- From: Trevor Lanyon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 28 August 2001 4:13 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Accessing fields with the same name in MySQL tbl_job --- id name_id job