I have this class
class Registration {
function registration() {
print_r($_REQUEST);
$fname = htmlspecialchars(trim($_POST['fname']));
$lname = htmlspecialchars(trim($_POST['lname']));
}
$obj_reg = new registration();
}
I am getting the values from $.post
method of jquery ,here its how
sUrl='http://localhost/Temp/registration.php'
tsQueryStr='f_name=rjseh&l_name=rjseh&badge_name=rjseh';
$.post(sUrl,tsQueryStr, function(data){
alert(data);
});
But these values are not printing inside class method I am using core-php
please help,