Server IP : 192.124.249.33 / Your IP : 66.248.200.33 Web Server : Apache System : Linux 141.134.66.148.host.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els6.x86_64 #1 SMP Fri Sep 13 13:42:20 UTC 2024 x86_64 User : tarangglobal ( 1001) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/tarangglobal/public_html/cyber/admin/ |
Upload File : |
<?php require_once('pdoconfig.php'); $param=$_REQUEST['param']; $cid=$_REQUEST['cid']; $sid=$_REQUEST['sid']; if($param=='state') { $comp="select * from aa_course_category where cat_id='$cid'"; } else{ $comp="select * from aa_course_master where cat_id='$sid' "; } $result_db1=$action->select($comp); $result1 = array(); foreach($result_db1 as $id=>$row1) { $result1[] = $row1; } $result2=json_encode($result1); echo $_GET['callback'] . '(' . $result2. ')'; ?>Private