I used this JQUERY code module for some purpose
$("#notice").show().load('update.php?first=1&institute='+sch+'&institute_code='+code,function(data,statusTxt,xhr) {
$('#notice').show().html(data);}
});
update.php?first=1&institute='+sch+'&institute_code='+code in the above code to be loaded but its not working as it should work
On update.php I used this code
echo 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'];exit;
and the output i got is
http://localhost/teach/index/update.php?first=1&institute=Delhi
While it should be
http://localhost/teach/index/update.php?first=1&institute=Delhi&institute_code=441
&institute_code=441 part is missing,
where am i making mistake? I know its a silly mistake but i am wasted of searching that mistake.