amwd07 Posted February 16, 2008 Share Posted February 16, 2008 Not sure if this is possble I need to post the value on the submit image the idea is I want to use this as an image library so the image clicked submits to the db it works the entry to the db but the image is not the one selected this is becuase the value is taken from the hidden field, if the value can be taken from the the image submit this should be correct but I also need the name to be welcome_image1 or nothing will happen it all sounds complecated, all I need to do is click on an image to change the db field welcome_image1 anyone have any idea's ? echo "<form method='post' id='form1' "; echo "<div class=library_files>"; echo "<input type='image' src='".$file."' width='100' border='0' hspace='6' vspace='6' alt='$fName' value='$fName' />"; echo "<input type='hidden' name='welcome_image1' id='welcome_image1' value='$fName' />"; echo "</div></form>"; Quote Link to comment Share on other sites More sharing options...
amwd07 Posted February 16, 2008 Author Share Posted February 16, 2008 sorted it decided to use GET instead of POST Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.