sean14592 Posted May 22, 2008 Share Posted May 22, 2008 I have registration form that when submited it should take me to: http://mysite.com/index.php?page=oregpro but instead it is taking me to.... http://mysite.com/index.php?image.x=95&image.y=22 The code for the form tag is... <form action="http://www.mysite.com/index.php?page=oregpro" name="o_register" id="o_register" > The code for the submit buttom is... <input type="image" src="style/form/iagree.gif" name="image" > Cheers Sean Link to comment https://forums.phpfreaks.com/topic/106812-solved-image-buton-sending-siza-variables/ Share on other sites More sharing options...
PFMaBiSmAd Posted May 22, 2008 Share Posted May 22, 2008 Your <form tag is missing a method="..." parameter so it defaults to "get". That replaces the page=oregpro parameter with the form data. You need to use method="post" to allow your page=oregpro parameter to work. Link to comment https://forums.phpfreaks.com/topic/106812-solved-image-buton-sending-siza-variables/#findComment-547540 Share on other sites More sharing options...
sean14592 Posted May 22, 2008 Author Share Posted May 22, 2008 thanks, topic solved! cheers again. sean Link to comment https://forums.phpfreaks.com/topic/106812-solved-image-buton-sending-siza-variables/#findComment-547610 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.