![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
19/11/2015, 20:38
|
| | Fecha de Ingreso: noviembre-2015
Mensajes: 3
Antigüedad: 9 años, 2 meses Puntos: 0 | |
Respuesta: While IF ELSE Ya lo intente como me sugeriste y cuando lo veo en internet no me aparece la imagen, este es mi sitio:
www.publiflayer.com
Codigo Modificado:
<?php
$qry="SELECT web_url FROM negocio_queretaro WHERE idNegocio=".$_GET['idNegocio'];
$result=mysql_query($qry);
while ($row = mysql_fetch_array($result)){
if(isset($row)){
if(!empty($row['web_url'])){
?>
<a target="_blank" href="<?php echo $row["web_url"]; ?>"><img src="images/wwwlink.png" width="60" height="60" alt="www" /></a><br />
<?php
}
else{
echo header("Location:noservice.php");
}
}
}
?> |