this is my javascript code :
function category(row){
dataparam = \"oper=delete&row=\"+row;
$.ajax({
type: \"POST\",
url: \"multiuplo
It looks like you have this wrong, $_REQUEST['opers']
it should be $_REQUEST['oper']
$opers = (isset($_REQUEST['oper']) and $_REQUEST['oper'] != '' ) ? $_REQUEST['oper'] : '';
if($opers == "delete") {
$row=$_REQUEST['row'];
echo $row;
}
I would also recommend that as you are expecting the values to come via URL you use the appropriate super global which is $_GET
. There is a very small chance that a $_COOKIE
could screw you over. If you use them and hapen to give it the value of 'oper'.