hi,
i have two tables that i am joining using the following sql:
SELECT * FROM clients, programmes WHERE clients.client_ id =
programmes.clie nt_id AND programmes.clie nt_id = 12
if both clients table and programmes table contain a column called
date_added, how do i access them both seperately? i have tried the
following:
//after connect code etc.
while ($row = mysql_fetch_arr ay($result)) {
$clients_date_a dded = $row['clients.date_a dded'];
}
....but it doesnt seem to work. any help?
cheers
burnsy
i have two tables that i am joining using the following sql:
SELECT * FROM clients, programmes WHERE clients.client_ id =
programmes.clie nt_id AND programmes.clie nt_id = 12
if both clients table and programmes table contain a column called
date_added, how do i access them both seperately? i have tried the
following:
//after connect code etc.
while ($row = mysql_fetch_arr ay($result)) {
$clients_date_a dded = $row['clients.date_a dded'];
}
....but it doesnt seem to work. any help?
cheers
burnsy
Comment