Hi
my php code is not working on my computer, i cannot see any problem with my code either.
when loading my code, it just shows my code printed onto the browser
<?php
$yourname = check_input($_POST);
$email = check_input($_POST);
$likeit = check_input($_POST);
$comments = check_input($_POST);
?>
<html>
<body>
Your name is: <?php echo $yourname; ?><br />
Your e-mail: <?php echo $email; ?><br />
<br />
Do you like this website? <?php echo $likeit; ?><br />
<br />
Comments:<br />
<?php echo $comments; ?>
</body>
</html>
<?php
function check_input($data)
{
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
return $data;
}
?>
thats my code