Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/11/2015, 20:38
charlysoto
 
Fecha de Ingreso: noviembre-2015
Mensajes: 3
Antigüedad: 8 años, 5 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");
}
}
}
?>