Ola fiz exatamente o que estava escrito para lista as fotos no meu relatorio mas no lugar de mostrar a foto, mostra um monte de tabela asc, os lançamentos estao aparecendo perfeito menos a foto meu banco de dados é mysql nome da tabela é estoque e o nome do campo é foto, campo tipo blob uso o easy php o que pode ser feito!!!!!!!!!!!! <body>
<?php
//$id_util=$_GET["id_util "];
$conexao = mysql_connect('localhost', 'root', '');
if (!$conexao)//caso não haja conexão
{
die("não foi possível conectar a base de dados");
}
mysql_select_db("estoque", $conexao);
$sql='select * from estoque';
//select * from estoque where setor1="5"
// WHERE id = '".$id_util."'";
$resultado = mysql_query($sql);
print("<table border='1'>
<tr>
<th>codigo</th>
<th>descricao_mercadoria</th>
<th>estoque_atual</th>
<th>tipo</th>
<th>setor1</th>
<th>local</th>
<th>vlr_unit</th>
<th>vlr_total </th>
<th>setor</tr>
<th>foto</tr>");
while($row = mysql_fetch_array($resultado))
{
echo "<tr>";
echo "<td>" . $row['codigo'] . "</td>";
echo "<td>" . $row['descricao_mercadoria'] . "</td>";
echo "<td>" . $row['estoque'] . "</td>";
echo "<td>" . $row['tipo'] . "</td>";
echo "<td>" . $row['setor1'] . "</td>";
echo "<td>" . $row['local'] . "</td>";
echo "<td>" . $row['unit'] . "</td>";
echo "<td>" . $row['total'] . "</td>";
echo "<td>" . $row['setor'] . "</td>";
$foto = $row["foto"];
echo "<img src=http:\\localhost\"$foto\"> <br><br>";
// OBS já TENTEI MUDAR O CODIGO DA LINHA ACIMA DE TODAS AS MANEIRAS,
TIREI ATE O LOCALHOSTE MAS não MOSTRA A FOTO
echo "</tr>";
echo "</table>";
}
mysql_close($conexao);
?>
</body>
</html> agradeço antecipadamente