-Karl- Posted December 15, 2009 Share Posted December 15, 2009 Okay, so I have my form: <form method="get" action="./plans.php"><INPUT TYPE="image" SRC="images/learn_more.png" ALT="Submit Form" NAME="piglet" class="learn-more-image"></form> And I have my isset: if(!isset($_GET['piglet'])){ Hi } else { Hello } The problem is with the form, when I click a link it comes up with .php?piglet.x=44&piglet.y=8 instead of .php?piglet which it was it needs to function correctly. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/185287-php-form-and-isset/ Share on other sites More sharing options...
mikesta707 Posted December 15, 2009 Share Posted December 15, 2009 can you post the whole form? Quote Link to comment https://forums.phpfreaks.com/topic/185287-php-form-and-isset/#findComment-978095 Share on other sites More sharing options...
-Karl- Posted December 15, 2009 Author Share Posted December 15, 2009 Sorry I thought I had, I've edited it now. Quote Link to comment https://forums.phpfreaks.com/topic/185287-php-form-and-isset/#findComment-978097 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.