【php开源代码栏目提醒】:网学会员为广大网友收集整理了,work_action.php,希望对大家有所帮助!
<html>
<head>
<title>work_action</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312" />
</head>
<body>
<?
require("common.php");
$name=$_POST[username];
$phone=$_POST[phone];
$address=$_POST[address];
$email=$_POST[email];
$work=$_POST[work];
$country=$_POST[country];
$submit=1;
if(!name)
{
$submit=0;
$name="<b>name</b>";
}
if(!check_email($email))
{
$submit=0;
$email="<font size=5 color=red>
error emial address can not put into database</font>";
}
echo (
"<b>your have submit </b>".nl.nl.
"name:$name".nl."phone:$phone".nl.
"address:<br>$address".nl.
"email: $email".nl.
"work: $work".nl.
"country: $country".nl
);
?>
</body>
</html>