<?php

$sql = "select * from ind_mat where secao = '9' order by id  ASC";
$result = mysql_query ($sql);
while ( $valor = mysql_fetch_array($result) )
{
echo'
<div style="float: left; width: 80px; margin-left: 5px; margin-right: 30px; font-size: 10px; text-align: left;">

<'.$valor["link_auto_01"].''.$valor["cod_mat"].'>
<'.$valor["link_alter_01"].''.$valor["url_01"].'>
<img src="images/'.$valor["imagem_01"].'"  border="0">
</a>


<'.$valor["link_auto_01"].''.$valor["cod_mat"].'>
<'.$valor["link_alter_01"].''.$valor["url_01"].'>
'.$valor["texto_01_dir"].'
</a>

</div>';

}


?>