Jump to content

in help in $_POST[$i."1"]


btkaruna

Recommended Posts

the $_POST array is an array that holds all of your submitted values from your form. the stuff inside the [] points to which position in the array. the $i."1" is taking the value of $i and concactonating 1 to it.  I assume that there is a loop where $i is incremented or something, so one one of those iterations of the loop, it might actually look like $_POST[11], $_POST[21], $_POST[31], etc... those being the 12th, 22nd, and 32nd positions in the $_POST array (because arrays start at zero, not 1). 

What value the $_POST[11] (example) holds can be anything.  Look at the form you got the posted info from.  it's being inserted into your dValue column in your db so that might help you.
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.