Código PHP:
echo '<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="50">ID del Producto</td>
<td width="50">Cantidad en almacen</td>
<td width="50">Existe en almacen</td>
<td>Concepto</td>
<td width="100">Acciones</td>
</tr>';
// Consultando
while($consulta=mysql_fetch_array($consulta_pasada)
{
echo '
<tr>
<td width="50">'.$consulta["celda"].'</td>
<td width="50">'.$objProductos->cantidad_unidades.'</td>
<td width="50">';
IF ($consulta['algo']==0) { echo 'No existe'; } ELSE { echo 'Existe'; } echo '</td>
<td><a href="?id='.$fila['algo'].'">- '.$fila['otro_mas'].'</a></td>
<td>Ok</td>
</tr>';
}
echo </table>
algo así , no?