I'm learning php on the job and I wasn't doing too badly until this problem has been blocking me for several days.
From a Data.php file, I retrieve data from an API in JSON, which I display in the browser on the one hand and place in a form on the other hand. It is an array of 5 columns and as many rows as data to recover.
In my form, I create a hidden input named table[i] per new line and a sub-input table[i][j] per column of line i. I then send it by POST method to a Data_post.php file, which sends it to a personal database.
All this worked very well until I tested with "larger" data ranges. In this case, my Data_post.php page returns this message : Error message
Here is the part of the code concerned in Data_post.php : concerned code
From what I understand the file does not recognize one of the variables transmitted by the form. Looking around, I realize that this only happens from the 358th iteration of the for loop. As if the form was sent correctly for the first 357 lines but not for the following ones.
By inspecting the Data.php page from which the form comes, I see that all variables are well defined even beyond line 358: form inspection
This would therefore come from the transmission between Data.php and Data_post.php.
I looked at the max_size or execution_time in php.ini but it would surprise me that the problem comes from there since my form remains very light (here 358 lines * about one hundred characters per line).
So I hope you will have some ideas to help me because I really have drawn on all my skills, so far uselessly.
Thank you very much in advance!