Jump to content

problems with isset($_POST['submit_button'])


Eggzorcist

Recommended Posts

I'm a bit unsure why this problem is accuring. I've always used done some of my forms like this. but when I do

if(isset($_POST['post_form'])){
register_user($_POST['username'], $_POST['password1'], $_POST['password2'], $_POST['email'], $_POST['clubname'], $_POST['clubposition']);	
}

 

It doesn't work properly. It executes whenever I get on that page - and doesn't execute when I press the submit button. Any alternatives?

 

thanks a lot

 

Link to comment
https://forums.phpfreaks.com/topic/167762-problems-with-isset_postsubmit_button/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.