";
echo "$email";
echo "
";
echo "$phone";
echo "
";
echo "$mb";
echo "
";
echo "$subject";
echo "
";
echo "$comment";
*/
//==== Insert ===============//
if($cmd=="Submit")
{
//check the name input to the system .
if($name==''){
echo "Please enter name of the topic.";
return 0 ;
}
/* Check the data input or not */
if($email==''){
echo "
Please enter your email, for feed back your issue.";
return 0 ;
}
if($name=='' or $email =='') {
echo "
Please enter name or email.";
return 0 ;
}
//-----------------------------------------------------------------------------------------
$sql_insert = "
insert into inquiry
(
name, email, phone, mb, subject, comment
)
values
(
'$name', '$email', '$phone', '$mb', '$subject', '$comment'
)
";
//echo $sql_insert ;
}
?>