--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) Link to comment https://forums.phpfreaks.com/topic/92116-need-some-basic-php-form-help/ 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 } Link to comment https://forums.phpfreaks.com/topic/92116-need-some-basic-php-form-help/#findComment-471730 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 Link to comment https://forums.phpfreaks.com/topic/92116-need-some-basic-php-form-help/#findComment-471768 Share on other sites More sharing options...
rofl90 Posted February 20, 2008 Share Posted February 20, 2008 Hello --ss-- of HxF 'tis Reconix Link to comment https://forums.phpfreaks.com/topic/92116-need-some-basic-php-form-help/#findComment-472168 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.