Jump to content

Need some code


sh0tgun

Recommended Posts

Well here goes...

No one is going to write your code for you.  This forum is intended to help people who are stuck on their own code and seeking help.

Why don't you give it some effort on your own and post where you get stuck.

Otherwise this belongs in the freelancing forum.
Link to comment
https://forums.phpfreaks.com/topic/27781-need-some-code/#findComment-127120
Share on other sites

If you mean how do you get the data from the form when you submit it. Then you get it form the $_POST or $_GET superglobal variables. You use $_POST if you use the POST method (method="post") or GET if you dont use the POST method or if you have not set the method in your form tag.

Once you know which variable to use you then prefix with ['field_name_here'] like so: $_POST['field_name_here']

So if you have a textarea called 'name':
[code]<input type="text" name="name">[/code]

Then you access the data from that field using $_POST['name']. You can then echo that variable out to see the contents.
Link to comment
https://forums.phpfreaks.com/topic/27781-need-some-code/#findComment-127127
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.