IMG SRC error!
Posted: Thu Dec 09, 2010 1:04 pm
Hello guys!
I want to display a image wich link is in a mysql database.
i used a loop with this output:
The output cames nice except the image, it only shows the alt phrase "image". I guess im using a bad syntax in the IMG tag!
Thank you!
I want to display a image wich link is in a mysql database.
i used a loop with this output:
Code: Select all
while( $linha = mysql_fetch_array($sql_noticia) ){
echo '<ul class="noticias">
<li><img src="'.$linha['path'].'" alt="image" /> </li>
<li class="titulogrande">'.$linha['descricao'].'</li>
<li class="texto">'.$linha['data'].'</li>
<li class="textobd">'.$linha['assunto'].'</li>
<br>
<li class="texto"><p align="right">Links Externos</p></li>
}
Thank you!