This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hey Everyone,
I have a form on my website where I am cloning parts of the form, then trying to add that information to a database. When the form elements clone, they get a name that increases, for example:
detailsloc[2]
With the [2] changing as more form elements are added. I am not sure how to get the additional elements into the database.
This is an example of how each form field is currently being handled:
if (!empty($detailsloc))
$updates[] = 'detailsloc="'.mysqli_real_escape_string($dbc, $detailsloc).'"';
I know it's not a lot of information, but it's behind a log-in and password, so I can't just point you to the site. Please let me know if you have any advice or need more information.
Thank you!
Subreddit
Post Details
- Posted
- 10 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/PHPhelp/com...