Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.188.218.140
<?php
// function sspdbonafideata($aobj_context){
// $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
// ini_set('max_execution_time', '300');
// $query = "select distinct University_SSP_Code,COLLEGE_SSP_CODE,COURSE_CODE from logisys3_comexam.ssp_bonafide
// where ifnull(COLLEGE_SSP_CODE,'') <> ''
// and ifnull(finserted,'') <> 'T'
// and University_SSP_Code = '1012'";
// $result = $aobj_context->mobj_db->GetAll($query);
// foreach($result as $value)
// {
// // var_dump($value);
// // die();
// $query = "select Academic_Year_code,University_Registration_Number,STUDENT_NAME,STUDENT_FATHER_NAME,
// STUDENT_MOTHER_NAME,if(Student_Guardian_name = '','-',ifnull(Student_Guardian_name,'-')) as Student_Guardian_name,
// Gender,University_SSP_Code,University_Name,COLLEGE_NAME,COLLEGE_SSP_CODE,College_Type,
// COLLEGE_TYPE_SSP_CODE,College_District_Name,DISTRICT_SSP_CODE,College_Taluk_Name,
// TALUK_SSP_CODE,Study_Mode,COURSE_NAME,COURSE_CODE,DISCIPLINE_NAME,DISCIPLINE_CODE,
// COURSE_YEAR,SEAT_TYPE_NAME,SEAT_TYPE_SSP_CODE,Admission_Year,Is_Lateral_Entry
// from logisys3_comexam.ssp_bonafide where ifnull(finserted,'') <> 'T'
// and COLLEGE_SSP_CODE = '{$value['COLLEGE_SSP_CODE']}'
// and University_SSP_Code = '{$value['University_SSP_Code']}'
// and COURSE_CODE = '{$value['COURSE_CODE']}'";
// $result1 = $aobj_context->mobj_db->GetAll($query);
// if($result1)
// {
// //while (@ob_end_flush());
// while (@ob_end_flush());
// foreach($result1 as $s)
// {
// $headers = array
// (
// 'Authorization:D3NX4FTH0A',
// 'Content-Type: application/json'
// );
// // $fields = array
// // (
// // 'data' => json_encode($result)
// // );
// $req = json_encode( $s );
// $ch = curl_init();
// //curl_setopt( $ch,CURLOPT_URL, 'https://ssp.postmatric.karnataka.gov.in/UniAPI/api/PushUniversity_Bonafide_Data/' );
// curl_setopt( $ch,CURLOPT_URL, 'https://unidata.karnataka.gov.in:8080/UniAPI/Api/PushUniversity_Bonafide_Data/' );
// curl_setopt( $ch,CURLOPT_POST, true );
// curl_setopt( $ch,CURLOPT_HTTPHEADER, $headers );
// curl_setopt( $ch,CURLOPT_RETURNTRANSFER, true );
// curl_setopt( $ch,CURLOPT_SSL_VERIFYPEER, false );
// curl_setopt( $ch,CURLOPT_POSTFIELDS, json_encode( [$s] ) );
// $result2 = curl_exec($ch);
// curl_close( $ch );
// echo $result2;
// //$res = json_decode($result2);
// //echo $res['status'];
// $res2 = json_decode($result2, true);
// if($res2['status'] != 'Failure')
// {
// $upd = "update logisys3_comexam.ssp_bonafide set finserted = 'T',
// fstatus = 'T'
// where ifnull(finserted,'') <> 'T'
// and COLLEGE_SSP_CODE = '{$value['COLLEGE_SSP_CODE']}'
// and University_SSP_Code = '{$value['University_SSP_Code']}'
// and University_Registration_Number = '{$s['University_Registration_Number']}'";
// $result3 = $aobj_context->mobj_db->Execute($upd);
// }
// $insert = "insert into logisys3_comexam.ssp_bonafide_log(University_SSP_Code, COLLEGE_SSP_CODE, COURSE_CODE,University_Registration_Number, freq, fres) values
// ('{$value['University_SSP_Code']}', '{$value['COLLEGE_SSP_CODE']}', '{$value['COURSE_CODE']}','{$s['University_Registration_Number']}','{$req}','{$result2}')";
// // var_dump($insert);
// $result3 = $aobj_context->mobj_db->Execute($insert);
// // die();
// flush();
// }
// }
// }
// echo "Completed";
// }
function sspdbonafideata($aobj_context){
$aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
ini_set('max_execution_time', '300');
$univsspcode=trim($aobj_context->mobj_data["univsspcode"]);
$sspkey=trim($aobj_context->mobj_data["sspkey"]);
$query = "select distinct University_SSP_Code,COLLEGE_SSP_CODE,COURSE_CODE
from logisys3_comexam.ssp_bonafide_new
where ifnull(COLLEGE_SSP_CODE,'') <> ''
and ifnull(fstatus,'') <> 'T'
and University_SSP_Code = '{$univsspcode}'";
$result = $aobj_context->mobj_db->GetAll($query);
foreach($result as $value)
{
$query = "select Academic_Year_code,University_Registration_Number,STUDENT_NAME,STUDENT_FATHER_NAME,
STUDENT_MOTHER_NAME,if(Student_Guardian_name = '','-',ifnull(Student_Guardian_name,'-')) as Student_Guardian_name,
Gender,University_SSP_Code,University_Name,COLLEGE_NAME,COLLEGE_SSP_CODE,College_Type,
COLLEGE_TYPE_SSP_CODE,College_District_Name,DISTRICT_SSP_CODE,College_Taluk_Name,
TALUK_SSP_CODE,Study_Mode,COURSE_NAME,COURSE_CODE,DISCIPLINE_NAME,DISCIPLINE_CODE,
COURSE_YEAR,SEAT_TYPE_NAME,SEAT_TYPE_SSP_CODE,Admission_Year,Is_Lateral_Entry
from logisys3_comexam.ssp_bonafide_new where ifnull(finserted,'') <> 'T'
and University_Registration_Number in('NU20UAR013')";
$result1 = $aobj_context->mobj_db->GetAll($query);
//var_dump($result1);
// var_dump($query);
//die();
if($result1)
{
//while (@ob_end_flush());
//while (@ob_end_flush());
//foreach($result1 as $s)
//{
$headers = array
(
"Authorization:$sspkey",
"Content-Type: application/json"
);
// $fields = array
// (
// 'data' => json_encode($result)
// );
$req = json_encode( $result1 );
//var_dump($req);
$ch = curl_init();
//curl_setopt( $ch,CURLOPT_URL, 'https://ssp.postmatric.karnataka.gov.in/UniAPI/api/PushUniversity_Bonafide_Data/' );
curl_setopt( $ch,CURLOPT_URL, "https://unidata.karnataka.gov.in:8080/UniAPI/Api/PushUniversity_Bonafide_Data/");
// curl_setopt( $ch,CURLOPT_URL, 'https://unidata.karnataka.gov.in:8080/api_update_unidata/api/Update_University_Bonafide_Data' );
curl_setopt( $ch,CURLOPT_POST, true );
curl_setopt( $ch,CURLOPT_HTTPHEADER, $headers );
curl_setopt( $ch,CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch,CURLOPT_SSL_VERIFYPEER, false );
curl_setopt( $ch,CURLOPT_POSTFIELDS, json_encode( $result1 ) );
$result2 = curl_exec($ch);
//var_dump($result2);
curl_close( $ch );
//echo $result2[''];
//$res2 = json_decode($result2);
$res2 = json_decode($result2, true);
echo $value['COLLEGE_SSP_CODE'].' - '.$value['COURSE_CODE']." : ".$res2['status']."<br>";
if($res2['status'] != 'Failure')
{
$upd = "update logisys3_comexam.ssp_bonafide_new set finserted = 'T', fstatus = 'T'
where ifnull(finserted,'') <> 'T'
and COLLEGE_SSP_CODE = '{$value['COLLEGE_SSP_CODE']}'
and University_SSP_Code = '{$value['University_SSP_Code']}'
and COURSE_CODE = '{$value['COURSE_CODE']}'";
$result3 = $aobj_context->mobj_db->Execute($upd);
}
$insert = "insert into logisys3_comexam.ssp_bonafide_log(University_SSP_Code, COLLEGE_SSP_CODE, COURSE_CODE,University_Registration_Number, freq, fres) values
('{$value['University_SSP_Code']}', '{$value['COLLEGE_SSP_CODE']}', '{$value['COURSE_CODE']}','-','-','{$result2}')";
// var_dump($insert);
// die();
$result3 = $aobj_context->mobj_db->Execute($insert);
// die();
// flush();
}
// }
}
echo "Completed";
}
function sspexamdata($aobj_context){
$aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
$univcode = $aobj_context->mobj_data["univcode"];
//var_dump($univcode);
//die();
$query = "select distinct FSSPCODE,FSSPKEY
from logisys3_comexam.dbname
where funivcode = '{$univcode}'";
$result3 = $aobj_context->mobj_db->GetRow($query);
$univsspcode = $result3['FSSPCODE'];
$sspkey = $result3['FSSPKEY'];
// $univsspcode=trim($aobj_context->mobj_data["univsspcode"]);
// $sspkey=trim($aobj_context->mobj_data["sspkey"]);
ini_set('max_execution_time', '300');
$query = "select distinct University_SSP_Code, COLLEGE_SSP_CODE,SSP_Course_Code
from logisys3_comexam.ssp_univ_marks
where ifnull(SSP_Course_Code,'') <> ''
and ifnull(fstatus,'') <> 'T'
and if(Is_Semester_Annual = 'A','1=1',if(Is_CGPA_Marks ='M',
(Sem_1_Total_Marks_Obtained >0
and Sem_2_Total_Marks_Obtained>0),(Sem_1_CGPA_Obtained > 0
and Sem_2_CGPA_Obtained > 0)))
and ifnull(COLLEGE_SSP_CODE,'') <> ''
and COLLEGE_SSP_CODE <> 0
and University_SSP_Code = '{$univsspcode}'";
//var_dump($query);
//die();
$result = $aobj_context->mobj_db->GetAll($query);
foreach($result as $value)
{
// var_dump($value);
// die();
$query = "select distinct University_Registration_Number, STUDENT_NAME, University_SSP_Code, Course_Name, SSP_Course_Code, Course_Year, Course_Acadamic_Year as Course_Academic_Year,
Is_Semester_Annual, Is_CGPA_Marks, Annual_Maximum_Marks, Annual_Total_Marks_Obtained, Annual_Total_CGPA_Obtained, Annual_CGPA_Percentage_Conversion_Factor,
Annual_Percentage, Sem_1_Maximum_Marks, Sem_1_Total_Marks_Obtained, Sem_1_CGPA_Obtained, Sem_1_CGPA_Percentage_Conversion_Factor,
Sem_1_Percentage, Sem_2_Maximum_Marks, Sem_2_Total_Marks_Obtained, Sem_2_CGPA_Obtained,
Sem_2_CGPA_Percentage_Conversion_Factor, Sem_2_Percentage,
Pass_Promoted,Pass_in_all_Subjects,
COLLEGE_SSP_CODE,
COLLEGE_NAME
from logisys3_comexam.ssp_univ_marks
where ifnull(finserted,'') <> 'T'
and University_SSP_Code = '{$value['University_SSP_Code']}'
and COLLEGE_SSP_CODE = '{$value['COLLEGE_SSP_CODE']}'
and SSP_Course_Code = '{$value['SSP_Course_Code']}'
and if(Is_Semester_Annual = 'A','1=1',if(Is_CGPA_Marks ='M',
(Sem_1_Total_Marks_Obtained >0
and Sem_2_Total_Marks_Obtained>0),(Sem_1_CGPA_Obtained > 0
and Sem_2_CGPA_Obtained > 0)))";
$result1 = $aobj_context->mobj_db->GetAll($query);
// var_dump($result1);
if($result1)
{
//while (@ob_end_flush());
//while (@ob_end_flush());
//foreach($result1 as $s)
//{
$headers = array
(
"Authorization:$sspkey",
"Content-Type: application/json"
);
// $fields = array
// (
// 'data' => json_encode($result)
// );
$req = json_encode( $result1 );
$ch = curl_init();
//curl_setopt( $ch,CURLOPT_URL, 'https://ssp.postmatric.karnataka.gov.in/UniAPI/api/PushUniversity_Bonafide_Data/' );
curl_setopt( $ch,CURLOPT_URL, 'https://unidata.karnataka.gov.in:8080/UniAPI/Api/PushUniversity_Marks_Data/' );
curl_setopt( $ch,CURLOPT_POST, true );
curl_setopt( $ch,CURLOPT_HTTPHEADER, $headers );
curl_setopt( $ch,CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch,CURLOPT_SSL_VERIFYPEER, false );
curl_setopt( $ch,CURLOPT_POSTFIELDS, json_encode( $result1 ) );
$result2 = curl_exec($ch);
curl_close( $ch );
//echo $result2[''];
//$res2 = json_decode($result2);
$res2 = json_decode($result2, true);
echo $value['SSP_Course_Code']." : ".$res2['status']."<br>";
if($res2['status'] != 'Failure')
{
$upd = "update logisys3_comexam.ssp_univ_marks set finserted = 'T', fstatus = 'T'
where ifnull(finserted,'') <> 'T'
and University_SSP_Code = '{$value['University_SSP_Code']}'
and COLLEGE_SSP_CODE = '{$value['COLLEGE_SSP_CODE']}'
and SSP_Course_Code = '{$value['SSP_Course_Code']}'
and if(Is_Semester_Annual = 'A','1=1',if(Is_CGPA_Marks ='M',
(Sem_1_Total_Marks_Obtained >0
and Sem_2_Total_Marks_Obtained>0),(Sem_1_CGPA_Obtained > 0
and Sem_2_CGPA_Obtained > 0)))";
$result3 = $aobj_context->mobj_db->Execute($upd);
}
$del = "delete FROM logisys3_comexam.ssp_bonafide_log
WHERE COLLEGE_SSP_CODE = '{$value['COLLEGE_SSP_CODE']}'
AND University_SSP_Code = '{$value['University_SSP_Code']}'
AND COURSE_CODE = '{$value['COURSE_CODE']}'
AND ftype = 'M'";
$result3 = $aobj_context->mobj_db->Execute($del);
$insert = "insert into logisys3_comexam.ssp_bonafide_log(University_SSP_Code, COLLEGE_SSP_CODE, COURSE_CODE,
University_Registration_Number, freq, fres,ftype) values
('{$value['University_SSP_Code']}', '{$value['COLLEGE_SSP_CODE']}', '{$value['SSP_Course_Code']}','-','-','{$result2}','M')";
///var_dump($insert);
$result3 = $aobj_context->mobj_db->Execute($insert);
// die();
// flush();
}
// }
}
echo "Completed";
}
function sspadmdata($aobj_context){
$aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
$univcode = $aobj_context->mobj_data["univcode"];
//var_dump($univcode);
//die();
// if($univcode == '001')
// {
// echo "Not Enabled for GUG";
// return;
// die();
// }
$query = "select distinct FSSPCODE,FSSPKEY
from logisys3_comexam.dbname
where funivcode = '{$univcode}'";
$result3 = $aobj_context->mobj_db->GetRow($query);
$univsspcode = $result3['FSSPCODE'];
$sspkey = $result3['FSSPKEY'];
// $univsspcode=trim($aobj_context->mobj_data["univsspcode"]);
// $sspkey=trim($aobj_context->mobj_data["sspkey"]);
ini_set('max_execution_time', '300');
$query = "select distinct University_Name, University_SSP_Code, University_Registration_Number, STUDENT_NAME,fdeggrp
from logisys3_comexam.ssp_admdata
where University_SSP_Code = '{$univsspcode}'
and ifnull(finserted,'') <> 'T'";
//
$result = $aobj_context->mobj_db->GetAll($query);
//var_dump(count($result));
$i = 0;
$max = 0;
if(count($result) <3000)
$max = count($result);
if(count($result) >0)
{
$query = "select distinct University_SSP_Code as University_Code,
University_Name as University_name,
University_Registration_Number as Registration_Number,
Academic_Year_code as Academic_Year,
STUDENT_NAME as Student_Name ,
'' as Course_Year,
'' as College_Name,
'' as College_SSP_Code,
'' as Course_Name,
'' as Course_Code,
'' as Discipline_Name,
'' as Discipline_Code,
fdeggrp as UG_PG
from logisys3_comexam.ssp_admdata
where University_SSP_Code = '{$univsspcode}'
and ifnull(finserted,'') <> 'T'";
$result2 = $aobj_context->mobj_db->GetAll($query);
if($result2)
{
$recnt = count($result2);
$divcnt = $recnt/100;
$loopcnt = ceil($divcnt);
$from = 0;
$to = 100;
for($i =0; $i<$loopcnt;$i++)
{
$query = "select distinct University_SSP_Code as University_Code,
University_Name as University_name,
University_Registration_Number as Registration_Number,
Academic_Year_code as Academic_Year,
STUDENT_NAME as Student_Name ,
'' as Course_Year,
'' as College_Name,
'' as College_SSP_Code,
'' as Course_Name,
'' as Course_Code,
'' as Discipline_Name,
'' as Discipline_Code,
fdeggrp as UG_PG
from logisys3_comexam.ssp_admdata
where University_SSP_Code = '{$univsspcode}'
and ifnull(finserted,'') <> 'T' limit $from, $to";
// var_dump($query);
// die();
$result1 = $aobj_context->mobj_db->GetAll($query);
// var_dump($result1);
// die();
$headers = array
(
"Authorization:$sspkey",
"Content-Type: application/json"
);
$req = json_encode( $result1 );
//var_dump($req);
$ch = curl_init();
curl_setopt( $ch,CURLOPT_URL, 'https://unidata.karnataka.gov.in:8080/UniAPI/api/University_Data/' );
curl_setopt( $ch,CURLOPT_POST, true );
curl_setopt( $ch,CURLOPT_HTTPHEADER, $headers );
curl_setopt( $ch,CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch,CURLOPT_SSL_VERIFYPEER, false );
curl_setopt( $ch,CURLOPT_POSTFIELDS, json_encode( $result1 ) );
$result2 = curl_exec($ch);
curl_close( $ch );
$res2 = json_decode($result2, true);
//var_dump($result2);
$ressspdata = $res2['statusMessage'];
$resmainresponse = $res2['message'];
foreach($ressspdata as $val)
{
$regno = $val['Registration_Number'];
$regres = $val['Message'];
if($regres == '')
$regres = $resmainresponse;
echo "Reg. No.: ".$regno." Status: ".$regres."\n";
if($val['Message_Type'] == 'SUCCESS')
{
$upd = "update logisys3_comexam.ssp_admdata set finserted = 'T',fupddate = now()
where ifnull(finserted,'') <> 'T'
and University_SSP_Code = '{$univsspcode}'
and University_Registration_Number = '{$regno}'";
$result2 = $aobj_context->mobj_db->Execute($upd);
}
$insert = "insert into logisys3_comexam.ssp_bonafide_log(University_SSP_Code,
University_Registration_Number, fres,ftype) values
('{$univsspcode}', '{$regno}','{$regres}','A')";
///var_dump($insert);
$result3 = $aobj_context->mobj_db->Execute($insert);
}
$from = $to+1;
$to = $to+500;
}
}
}
echo "Completed";
}
function sspdbonafideatanew($aobj_context){
$aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
ini_set('max_execution_time', '300');
$univcode = $aobj_context->mobj_data["univcode"];
$uniotp = $aobj_context->mobj_data["uniotp"];
if($univcode == '001')
{
echo "Not Enabled for GUG";
return;
die();
}
$query = "select distinct FSSPCODE,FSSPKEY, FSSPUSER,FSSPPWD
from logisys3_comexam.dbname
where funivcode = '{$univcode}'";
$result3 = $aobj_context->mobj_db->GetRow($query);
$univsspcode = $result3['FSSPCODE'];
$sspkey = $result3['FSSPKEY'];
$fsspuser = $result3['FSSPUSER'];
$FSSPPWD = $result3['FSSPPWD'];
$query = "select distinct University_SSP_Code,COLLEGE_SSP_CODE,COURSE_CODE
from logisys3_comexam.ssp_bonfdata
where ifnull(COLLEGE_SSP_CODE,'') <> ''
and ifnull(finserted,'') <> 'T'
and University_SSP_Code = '{$univsspcode}'";
$result = $aobj_context->mobj_db->GetAll($query);
foreach($result as $value)
{
$query = "select SSP_Student_ID, Hash_of_Student_Aadhaar, Vault_Reference_Number, Name_As_In_Aadhaar,
DOB_As_In_Tenth, Academic_Year_code, University_Registration_Number, Student_Name,
Student_Father_Name, Student_Mother_Name, Student_Guardian_Name,
Gender, University_SSP_Code, University_Name,
College_Name, College_SSP_Code, College_Type,
College_Type_SSP_Code, College_District_Name, District_SSP_Code, College_Taluk_Name, Taluk_SSP_Code,
Study_Mode, Course_Name, Course_Code, Discipline_Name, Discipline_Code, Course_Year,
Seat_Type_Name, Seat_Type_SSP_Code, Admission_Year, Is_Lateral_Entry,
Previous_Course_Passed_Year, Previous_Year_SSP_University_Code,
Previous_Year_SSP_University_Name, Previous_Year_SSP_College_Code,
Previous_Year_SSP_College_Name, Previous_Year_SSP_Course_Code,
Previous_Year_SSP_Course_Name, Previous_Year_SSP_Discipline_Code,
Previous_Year_SSP_Discipline_Name, Previous_Year_Course_Year,
Previous_Year_SSP_Seat_Type_Code, Previous_Year_SSP_Seat_Type_Name,
Previous_Year_Max_Marks, Previous_Year_Obtained_Marks, Previous_Year_Percentage_Obtained,
PASS_or_FAIL, Promoted, ifnull(Temp_University_Registration_Number,'') as Temp_University_Registration_Number, UG_PG,
ifnull(Mobile_Number,'') as Mobile_Number,
ifnull(Percentile,'') as Percentile,
ifnull(Encrypted_Mobile_Number,'') as Encrypted_Mobile_Number,
ifnull(Admission_Approved,'Y') as Admission_Approved
from logisys3_comexam.ssp_bonfdata
where ifnull(finserted,'') <> 'T' and COLLEGE_SSP_CODE = '{$value['COLLEGE_SSP_CODE']}'
and University_SSP_Code = '{$value['University_SSP_Code']}'
and COURSE_CODE = '{$value['COURSE_CODE']}'";
$result1 = $aobj_context->mobj_db->GetAll($query);
//var_dump($result1);
//die();
if($result1)
{
$headers = array
(
"Authorization:$sspkey",
"UserId:$fsspuser",
"Password:$FSSPPWD",
"ODP:$uniotp",
"Content-Type: application/json"
);
$req = json_encode( $result1 );
// var_dump($req);
$ch = curl_init();
curl_setopt( $ch,CURLOPT_URL, "https://unidata.karnataka.gov.in:8080/UniAPI/api/Push_University_Bonafide_Marks_Data_2324/");
curl_setopt( $ch,CURLOPT_POST, true );
curl_setopt( $ch,CURLOPT_HTTPHEADER, $headers );
curl_setopt( $ch,CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch,CURLOPT_SSL_VERIFYPEER, false );
curl_setopt( $ch,CURLOPT_POSTFIELDS, json_encode( $result1 ) );
$result2 = curl_exec($ch);
//var_dump($result2);
curl_close( $ch );
$res2 = json_decode($result2, true);
//var_dump($res2);
$ressspdata = $res2['statusMessage'];
// var_dump($ressspdata);
$resmainresponse = $res2['message'];
foreach($ressspdata as $val)
{
$regno = $val['University_Registration_Number'];
$regres = $val['Message'];
if($regres == '')
$regres = $resmainresponse;
echo "Reg. No.: ".$regno." Status: ".$regres."\n";
if($val['Message_Type'] == 'SUCCESS')
{
$upd = "update logisys3_comexam.ssp_bonfdata set finserted = 'T',fupddate = now()
where ifnull(finserted,'') <> 'T'
and University_SSP_Code = '{$univsspcode}'
and University_Registration_Number = '{$regno}'";
$result2 = $aobj_context->mobj_db->Execute($upd);
}
$insert = "insert into logisys3_comexam.ssp_bonafide_log(University_SSP_Code,
University_Registration_Number, fres,ftype) values
('{$univsspcode}', '{$regno}','{$regres}','B')";
$result3 = $aobj_context->mobj_db->Execute($insert);
}
}
echo "Completed";
}
}
|