I'm sending the following info to a php file. data contains 'one' and 'two'. 'One' contains the serialized form and two contains similar custom info. How can i read those post values with php. I want to be able to differentiated between the value contained in one and value contains into two.
$('form').submit(function() {
     x = $(this).serialize(),
     test = 'testing=whatever&something=else';
    $.ajax({
        type: 'POST',
        data: {'one':x, 'two':test}
        ...
    })
})
How can i read the values in php in such a way where i can do
$one = $_POST['one'];
foreach($one as $key=>$value){ $message.= $key.": ".$value."\r\n"; }
 
     
     
     
     
     
    