Welcome Guest, Not a member yet? Register   Sign In
error occurred in getting checkbox value
#4

(This post was last modified: 09-12-2018, 01:58 AM by Pertti.)

First, when you use input name="array[]", you can't really trust indexes, if you select first and third item from one array, and second and fourth item from second array, you get:

PHP Code:
$array1[
    
=> 'value for item 1',
    
=> 'value for item 3'
];

$array2[
    
=> 'value for item 2',
    
=> 'value for item 4'
]; 

So as fist thing, you ought to find a way to include related metadata (in your case, matching certid) somehow in the name/array that comes back.
Reply


Messages In This Thread
RE: error occurred in getting checkbox value - by Pertti - 09-12-2018, 01:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB