Ver Mensaje Individual
  #26 (permalink)  
Antiguo 06/08/2002, 16:03
Avatar de CHuLoSoY
CHuLoSoY
 
Fecha de Ingreso: febrero-2002
Ubicación: Ribeira (Galicia)
Mensajes: 1.900
Antigüedad: 22 años, 2 meses
Puntos: 29
Re: Si nombre está vacío mostrar ANÓNIMO

Hola amigos, lo he conseguido, os publico el código por si os interesa:

Código:
 <?
$nombre = trim($nombre);
if($nombre==""){
$nombreb="Anónimo";}
else
{$nombreb=$nombre;
}
$email = ereg_replace(" ","",$email);
if($email==""){
$emailb=$nombreb;}
else
{$emailb="<a href=\"mailto:$email\">$nombreb</a>";
}
?>


<? echo $emailb ?>


<center><hr size="1" color="blue" width="39%"><a href="http://www.ommadawn.es.vg" target="_blank"><font color="red">www.Ommadawn.es.vg[/CODE]</a><hr size="1" color="blue" width="39%">