Mit Chauhan
New member
JAI MATADI all ..
m trying to work in <form> with the use of PHP .. here is my code ..
-------------------------------------------------------------
image submit button.php
------------------------
<form name="form1" method="post" action="image submit button.php">
<input type="image" name="submit" src="search.gif" />
<input type="submit" name="submit1" />
</form>
<?php
if(isset($_POST["submit"]))
{
echo "hello";
}
?>
<?php
if(isset($_POST["submit1"]))
{
echo "hello";
}
?>
-------------------------------------------------------------
but m not able to work with
------------------------
<input type="image" name="submit" src="search.gif" />
------------------------
As m not getting any 'hello' reply when i click on it ..
m using mozilla firefox browser 4.0b1
whats wrong m doing in this code ..
m trying to work in <form> with the use of PHP .. here is my code ..
-------------------------------------------------------------
image submit button.php
------------------------
<form name="form1" method="post" action="image submit button.php">
<input type="image" name="submit" src="search.gif" />
<input type="submit" name="submit1" />
</form>
<?php
if(isset($_POST["submit"]))
{
echo "hello";
}
?>
<?php
if(isset($_POST["submit1"]))
{
echo "hello";
}
?>
-------------------------------------------------------------
but m not able to work with
------------------------
<input type="image" name="submit" src="search.gif" />
------------------------
As m not getting any 'hello' reply when i click on it ..
m using mozilla firefox browser 4.0b1
whats wrong m doing in this code ..