Change
$info=$_POST['id[]'];
to
$info=$_POST['id'];
by adding []
to the end of your form field names, PHP will automatically convert these variables into arrays.
More Related Contents:
- What to put in database columns when creating registration/login system? (xampp)
- Forcing to download a file using PHP
- How to use store and use session variables across pages?
- How to show Ajax requests in URL?
- mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in [duplicate]
- PHP check if file is an image [duplicate]
- How to access PHP with the Command Line on Windows?
- Accessing a class constant using a simple variable which contains the name of the constant
- Variable-length lookbehind-assertion alternatives for regular expressions
- Laravel update model with unique validation rule for attribute
- .htaccess for cakephp
- PHP daylight saving time detection
- How get all values in a column using PHP?
- Loading view outside view folder with CodeIgniter
- Display possible combinations of string
- Creating a mechanism to validate emails
- How to remove “via” and server name when sending mails with PHP?
- Symfony2, Dynamic DB Connection/Early override of Doctrine Service
- ‘Malformed UTF-8 characters, possibly incorrectly encoded’ in Laravel
- Calculate the number of months between two dates in PHP?
- Merge two flat indexed arrays of equal size so that values are pushed into the result in an alternating fashion
- Fastest way of deleting a value in a comma separated list
- Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by all
- how to redirect domain according to country IP address
- Are the PHP preg_functions multibyte safe?
- PHP cURL how to add the User Agent value OR overcome the Servers blocking cURL requests?
- How to replace all XHTML/HTML line breaks () with new lines?
- foreach with three variables add
- Lucene with PHP
- Routes in Codeigniter – Automatically