Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7925323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T18:14:41+00:00 2026-06-03T18:14:41+00:00

Ok, this is weird. I have created a simple addressbook using php with mysql

  • 0

Ok, this is weird. I have created a simple addressbook using php with mysql back end.
So I added up to 138 rows of addresses, it’s all fine. BTW I display my addresses in input texts so that any user can edit it anytime. So when I press a submit button, it perform http post on all 138 line entries and updates them. Everything is fine….

However, one fine day when I tried to update a 139th row input, it drops the last input input and give an ERROR! It gives a php run time error: “Notice: Undefined index: lastN in C:\wamp\www\Dawah\go.php on line 24”.

btw the LastN variable is obtained using $_post[‘lastN’].

As if there is a limit to the number of html input tags that can be posted in a single form!

I am very much intrigued.

Has anybody come across this before?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T18:14:44+00:00Added an answer on June 3, 2026 at 6:14 pm

    there’s an suhosin setting suhosin.request.max_vars but that’s only for suhosin, not regular php.

    since php 5.3.9 theres max_input_vars, which seems to fit the behavior
    http://www.php.net/manual/en/info.configuration.php#ini.max-input-vars

    apache has settings to limit request size, but they’re specified in bytes, not number of variables, as far as I know. I’d imagine apache would just stop and issue abad request instead of truncating the data like you’re seeing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this weird problem with setting up cookies with PHP. Everything worked fine
I have created a simple application using MVC3 and the site is based on
This is very weird. I have the following code: Assert.AreEqual(new DateTime(2000, 1, 1), DateTime.ParseExact(2000,
This is a weird problem. I have a solution for it, but I don't
I have a weird grid with different height columns. By this I mean, column
I have a weird problem, and I don't know if this is the default
Weird question this, going round in circles. I have 2 pages. Page 1. Has
I know this one is the weirdest of all weird questions I have asked
This may sound a weird question, I have a page which has a link:
this seems to be weird but it really happened. I have this code working

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.