ro6er
Programmer
- Jul 1, 2003
- 76
My first page has this:
<form action="test.php" method="post">
<input type="submit" name="name" value="1">
<input type="image" src=" border="0" name="name" value="1">
</form>
The page it's post to is this:
<?php
@extract($_POST);
$name = stripslashes($name);
?>
<? print $name; ?>
I can get the <input type="submit" name="name" value="1">
to work fine but I can't get the image submit to work. This is probably something simple right?
<form action="test.php" method="post">
<input type="submit" name="name" value="1">
<input type="image" src=" border="0" name="name" value="1">
</form>
The page it's post to is this:
<?php
@extract($_POST);
$name = stripslashes($name);
?>
<? print $name; ?>
I can get the <input type="submit" name="name" value="1">
to work fine but I can't get the image submit to work. This is probably something simple right?