I am trying to join a table and fatch an array. But it does not like the ID value. Any sugestions.??
$db = mysql_connect("hostname","username","pass");
mysql_select_db("databasedb",$db);
$result = mysql_query("SELECT * FROM companys, clients WHERE companys.ID = clients.ID and ID = '$id'",$db);
while ($myrow = mysql_fetch_array($result))
bla bla bla