Skip to content
Advertisement

Tag: forms

Why is max_input_vars ignored?

I have max_input_vars set to 10000 in .htaccess. ini_get(‘max_input_vars’) correctly returns 10000 and phpinfo correctly shows the local value of max_input_vars to be 10,000 (with a master value of 1,000) and yet a sample script on a GoDaddy shared server with anything more than 1,000 <input type=”hidden” name=”input[]” value=”n”> fields only populates $_POST[‘input’] with 1,001 elements, whereas when run on

PHP how to send and receive multiple choice box

I need suggestion. I have an list of position from database, displayed in table and in the last table row is an option to select “TAK” – YES and “NIE” – NO, please tell me is it possible and if it, how to send and receive it all selected to “TAK” fields at file wypozyczalnia.php Answer At the moment you

html form not using POST – acting funny [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed last year. Improve this question I made bootstrap a form with this code and i am loosing my mind,

Submitting an HTML form to a PHP file with JS validation

I’m sending data via an HTML form to a PHP file for it to be inserted into a DB with SQL script, The same form is validated with JavaScript functions. Each of the two works as expected separately, but when used together – <form method=”POST” action=”myPHPFile.php” onsubmit=”validationFunc(event)”> – only the validation function works, and the page doesn’t get redirected to

Laravel 8 form to update database

I am creating a simple blog site with CRUD functionality in Laravel 8. I have done this before using the deprecated Laravel forms, but am now trying to do it using HTML forms. However, I am having some problem with the update part of the website. I have a controller called BlogsController with this function to be called to update

PHP POST method Form Redirecting on action Page

I have created a simple HTML Form With Action on Different Website After form data submission user is redirecting to action page but I want user stay on my website and form data go on another website..please help me here is sample form Answer Use an iframe, and submit the data to that, using target=”iframeName”, for example: This way you

How do I pass these variables to another php file

I’m currently making a shopping website and I need to be able to pass two variables to the next page, the code may be badly written because I’m new to this, but I’m trying to pass the number from the drop-down menu and the “row[‘pid’]” to another page. As shown below I have attempted to use a form button but

Advertisement