$msg = "First Name:$first \n";
$msg .= "E-mail Address:$email \n";
$msg .= "Emri i Sugjeruar: $profesioni \n";
$recipient = "nikolin.hoxha@shqiperiacom.info";
$subject = "Email nga Seksioni i Emrave";
$mailheaders = "Nga webi";
$mailheaders .= "Reply-To: $email";
?>
function show_form($first="", $email="") {
?>
}
if(!isset($first)) {
show_form();
}
elseif(!$email == "" && (!strstr($email,"@") || !strstr($email,"."))) {
echo "Ju lutem shkruani nje adrese te sakte emaili\\n";
show_form($first,$profesioni);}
else
{
if(empty($first) || empty($email))
{
echo "Nuk keni plotesuar fushat e kerkuara, provojeni serish \n";
show_form($first,$profesioni,$email);
}
else {
echo "Faleminderit, $first , do shohim munėsinė e publikimit tė informacionit tuaj";
mail($recipient, $subject, $msg, $mailheaders);
}
}
?>
|