954,124 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

help with finding right code




<?
//1
print "!all fields must be filled!";

//2

//3
print "first name: ";


//4
print "last name: ";


//5
print " age: ";


//6
print "question (be specific): ";



//7
e-mail (this must be valid):


//8
windows mac
--

if(strlen($fname) >2 && strlen($comtype) >2 && strlen($lname) >2 && strlen($age) >10 && strlen($age) <21 && strlen($need) >20 && strlen($email) >10 && )
{

$body2="a new request has been made by $fname $lname /n who is age $age and has a $comtype/n/n------------------------------------question------------------------------/n/n $need /n/n --------------------------------------------------------/n/n contact this person at $email /n/n";
mail("my@e-mail.com","new question",$body2)
}
else
{
print "there is an error";

}
?>

jasondrey13
Light Poster
41 posts since Jul 2005
Reputation Points: 16
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You