I'm new to web programming, and I'm having a hard time with that. I'm developing an advertisement site and need to call more than one table on the page.
I made 3 Div's of advertising: Main, Free and general.
I can only display the main, free and general ads I can not.
As I'm calling the major:
<?php
while ($dados=mysql_fetch_array($res))
{
?>
<?php echo $dados['site']?> <br>
<?php echo $dados['descricao']?> <br>
<img src="Painel/fotos/<?php echo $dados['foto']?> /><br>
<?php }?>
I try to do the same for the other two Div's and I can not, can you help me?