Hey guys, im putting a script together and everything was working fine.
heres an extract of what i had:
PHP Code:
if(isset($_POST['submit']) && $_POST['info'] == "go") {
Code:
<form id="form1" name="form1" method="post" action="">
<input type="hidden" name="info" id="info" value="go" />
<input type="hidden" name="id" id="id" value="<? echo $row['id_product']; ?>" />
<input type="submit" width="95" height="29" name="submit" id="submit" value="go">
then i changed the submit from:
Code:
<input type="submit" width="95" height="29" name="submit" id="submit" value="go">
TO
Code:
<input type="image" SRC="images/go.gif" width="95" height="29" name="submit" id="submit" value="go">
and the script stopped working, so i tried setting the if script to if post image ..rather than if post submit..but that didnt work.
ive never used image submit buttons in the past.
dose anybody have any idea where i have gone wrong.
thanks in advance for any help!