Topic: problem with a little captcha in PHP
Hi,
I have a problem with a little captcha in PHP.
Here is the code:
<?php
if(!empty($_POST))
{
if(!empty($_POST['verif']&&$_POST['verif']=='12')
{
// contactform
}
else
{
// answer the question please
}
}
else
{
echo '<form method="post" action="#">
// les champs du formualire + celui-ci :
Question : combien font 3 multiplié par 4 ?
<input type="text" name="verif" />
<input type="submit" value="Envoyer les données" />
</form>';
}
?>
It seems that on line 4 there is a problem with a:
(
)
[
]
Do you know where ?!