--ss-- Posted February 20, 2008 Share Posted February 20, 2008 Well basically I have an form with the GET attribute which is used to make an image using GD library , I'm having problems on trying to figure out how to make it so when the submit button is hit the Image is created and shown on the same page instead of going onto the page the GET is targeting. Any one got an code? (I know it'll be something simple but I can't get it working fully) Quote Link to comment Share on other sites More sharing options...
revraz Posted February 20, 2008 Share Posted February 20, 2008 Do a if submit and a if get. if ($_GET['setting']) { //get is set, do the code } else { //get is not set } Quote Link to comment Share on other sites More sharing options...
--ss-- Posted February 20, 2008 Author Share Posted February 20, 2008 Do a if submit and a if get. if ($_GET['setting']) { //get is set, do the code } else { //get is not set } I was doing that before but I kept doing the if condition wrong , can't belive how nooby I am. Thanks Quote Link to comment Share on other sites More sharing options...
rofl90 Posted February 20, 2008 Share Posted February 20, 2008 Hello --ss-- of HxF 'tis Reconix 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.