Jump to content

handling web forms data


plooto

Recommended Posts

Could someone let me know how to handle web forms data using the post method in php. I am sending using the post method and receiving using the request variable, but the order is not coming out to be right. Please let me know what to do..

 

Thanks

Link to comment
Share on other sites

I would suggest doing something like this while testing just to know a little more.

 

 

if (isset($_POST['sent_input_name']))

{

echo 'post is active';

$sent_input =  $_POST['sent_input_name']; //the name in this POST superGlobal should be the same as the name of the input element.

}

echo 'information in sent input is: '.$sent_input;

 

 

This should let you know if you have received the information in the first place.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.