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