Jump to content


DW Form


5 replies to this topic

#1 zoom4267

    Young Padawan

  • Members
  • Pip
  • 191 posts
  • Gender:Female
  • Location:USA

Posted 18 July 2007 - 05:41 AM

in my formi have some text area for people to enter information, but when i receive the form i dont see what they wrote.

here is a snippet from my form

<td>Other</td>
<td><textarea name="Restore Other" id="Restore Other"></textarea></td>
</tr>

thanks

#2 Archangel

    P2L Jedi

  • Members
  • PipPipPip
  • 988 posts
  • Gender:Male
  • Location:Indiana
  • Interests:Reading (mainly fantasy books), Gaming (Xbox 360, Wii &amp; PS3), Sports, Outdoor Recreation, Watching/Collecting Movies

Posted 18 July 2007 - 06:08 AM

We'll need a little more code than this. Probably a good idea to show us the form and the code where you are sending it to yourself.

#3 Demonslay

    P2L Jedi

  • Members
  • PipPipPip
  • 970 posts
  • Gender:Male
  • Location:A strange world where water falls out of the sky... for no reason.
  • Interests:Graphic Design, Coding, Splinter Cell, Cats

Posted 18 July 2007 - 01:01 PM

Ya, we'll need to see the full form.

Make sure you have a submit button, and that on the server side you are pulling the information from the $_POST superglobal.

#4 curthard89

    Young Padawan

  • Members
  • Pip
  • 226 posts

Posted 20 July 2007 - 07:15 AM

lol, superglobal? did we need to know tht :D

#5 Demonslay

    P2L Jedi

  • Members
  • PipPipPip
  • 970 posts
  • Gender:Male
  • Location:A strange world where water falls out of the sky... for no reason.
  • Interests:Graphic Design, Coding, Splinter Cell, Cats

Posted 20 July 2007 - 07:18 PM

Yes. $_POST, $_GET, $_REQUEST, $_SESSION, $_COOKIE, $_SERVER, $_FILES, and $_ENV are all superglobals and are accessible from anywhere in a script; unlike their $HTTP_*_VARS counter-parts.

Just something I like to make sure is clear when I mention them, as I am one of those 'use the correct term or else' kind of persons. :P

#6 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 21 July 2007 - 02:33 AM

View Postcurthard89, on Jul 20 2007, 06:15 AM, said:

lol, superglobal? did we need to know tht :)
The more proper question is did you need to ask that? Demonslay merely used a word to describe what he ment when he said "$_POST." He could have used "array" but chose the more accurate description of "superglobal." If zoom ever desided to search for more info on this "$_POST" thingy, knowing that could prove useful. So yes, you did need to know that.

Could you keep your post relavent to the subject next time? Or wait for zoom to reply...?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users