<? $sql = @mysql_query("SELECT * FROM tabela1, tabela3"); while ($fo = mysql_fetch_array($sql)) { $id = $fo['id']; $id = $fo['id']; } ?>
I chcę pobrać z tabeli tabela1 i tabela3 zawartość pola ID jak to zrobić. Przecież nazwa pola jest taka sama ?!
<? $sql = @mysql_query("SELECT * FROM tabela1, tabela3"); while ($fo = mysql_fetch_array($sql)) { $id = $fo['id']; $id = $fo['id']; } ?>
<?php ?>
<?php ?>