i want to put the name of tbl_account
to **tbl_lead fieldname(acc)*
* but can't do it. here in table account's name is dragged and merge with table leads in acc field of table leads
here is the query:
$sql = mysql_query("select tbl_lead.*, tbl_account.name from tbl_lead INNER JOIN tbl_account ON tbl_lead.acc= tbl_account.id");
Above result inner join show nothing (no error) but if we do left join then there is blank in *acc*
field of *tbl_lead*
and if i tried right join then only **acc
** field of **tbl_lead
** is shown please help me??