Forum Moderators: coopster
filename:success.php
<?php
if(!isset($_POST(['submit'])))
{
<form action="success.php" method="post">
<input type="hidden" name="fan" value="college">
<input type="image" src="/images/someimage.jpg" name="submit" >
</form>
}
else
{
$x= $_POST(['fan']);
echo"$x";
}
?>
this will only show someimage.jpg and even though i m clicking on it (submitting the form and hidden values) its not recognizing it..
any help appreciated.
thanks