prova cosi :master:
Codice PHP:
<html>
<head></head>
<body>
<form action="ora.php" method="post">
<button name="add" type="submit" value="ciao">
[img]img/demo.gif[/img]
</button>
</form>
</body>
</html>
<?
$add=$_POST['add'];
$add=stripslashes($add);
if($add == '[img]img/demo.gif[/img]')
{
echo "Ok";
}else
{
echo "no";
}
?>