I can get this query to execute with my db:
$sql = "SELECT * FROM gigs, musicians AS gigmusicians, musicians AS gigaltmusicians WHERE gigs.gigMusicianID = gigmusicians.musicianID AND gigs.gigAlsoMusicianID = gigaltmusicians.musicianID";
And put the result in $row and loop through the recordset:
while($row = mysql_fetch_array($sql_result)) {
But now how can I reference the aliased table?
<?=$row[gigmusicians.musicianName]?> doesn't work.
<?=$row[gigaltmusicians.musicianName]?> doesn't work either.
Thanks for helping,
Christopher