este es el codigo...helpppppp!!!!!
if ($nombre == "")
{
echo "Por favor ingrese su nombre<br>";
}
else if (!ereg('^[a-z0-9]+([\.]?[a-z0-9_-]+)*@'.'[a-z0-9]+([\.-]+[a-z0-9]+)*\.[a-z]{2,}$',$email))
{
echo "Por favor ingrese su email correctamente<br>";
}
else if ($link == "")
{
echo "Por favor ingrese un link
http://www.link.com";
}
else if (!$nombre=="" and !$email=="" and !$link=="")
{
$Query = 'INSERT INTO datos'.
' (nombre,email,link,comentario,viene_de)'.
' VALUES ('.
'"'.$nombre.'","'.$email.'","'.$link.'","'.$coment ario.'","'.$vienede.'");';
$IdInsercion = mysql_query($Query, $IdConexion);
}