Witam mam taki problem chcę ustawić Limit na jedną z tabel
tabela1 $mysql_galc ta tabela ma posiadać limit
tabela2 $mysql_gal


o to mój kod

  1. mysql_query("select p.gal_id pgal_id, p.gal_catid pgal_catid, p.gal_url pgal_url, p.gal_date pgal_date, c.cat_id ccat_id, c.cat_name ccat_name, c.cat_name2 ccat_name2, c.cat_desc ccat_desc, c.cat_date ccat_date from $mysql_galc c "." left join $mysql_gal p on p.gal_catid = cat_id "." order by c.cat_date desc, p.gal_date desc") or die(mysql_error());


z góry dziękuję za pomoc smile.gif