Роли в театре
$resteatr=mysql_query("SELECT * FROM teatr ORDER BY nid");
while ($rowteatr=mysql_fetch_array($resteatr)) {
echo '
'.$rowteatr['ntitle'].'
';
$res=mysql_query("SELECT * FROM subteatr WHERE nsibid='".$rowteatr['nid']."' ORDER BY ntitle");
while ($row=mysql_fetch_array($res))
echo '
| '.$row['ntitle'].' |
';
echo '
';
}
?>
|
|