Heello, I was having problems with this php script. I am trying to echo a statement on a contact form depending on the data entered, but when I hit submit, I get a blank page. I belive the error is something small, but I can;t put my finger on it.
Could someone give me some guidence?
Thanks
Much appreciated!
<form action="ContactUs.php" method="POST">
<?php
$_POST $firstname=['fname'];
$_POST $products=['products'];
$_POST $email=['email'];
if
(isset($_POST['fname']) ||;
(isset($_POST['email']) ||;
(isset($_POST['products']) ||;
{
( echo "Thank you visitor for intrest in our products. We will contact you at a later date.");
}
} else (echo "Thank you $fname for intrest in $products. We will contact you soon.");
}
?>`