Is it possible to get the columns name from a select statement involving more than two table.
eg
SELECT a.field1, a.field2,b.field3,c.field4
FROM a,b,c
WHERE a.field1 = b.field1 and a.field1 = c.field1
is there a mysql statement that returns a record set containing field1, field2, field3, field4 that can be sent to an array that can be used in a php script.