hey everybody…
i’m trying to call an image from my DDBB but nothing comes up… can anybody tell me what’s wrong with my code?
result show me data, but not the image, thanks
here’s the code
<?php
require_once(‘config.php’);
$sql = “SELECT * FROM articulos ORDER BY ID DESC LIMIT 0,10”;
$query = mysql_query($sql);
while ($row = mysql_fetch_array($query)){
echo ‘<p> <a href="articulo.php?id=’.$row[‘id’].’">’;
echo $row[‘titulo’];
echo ‘</a> </p>’;
echo $row[‘subtitulo’];
echo $row[img src="[‘imagen’]"];
}
?>