1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?php $page_settings = array( 'formid' => 'Subscribe', // for permission 'section' => 'Master', // parent/page title 'subsection' => 'Subscription', // page title 'domain' => 'subscribe', // table/model name 'access' => 'GNr', // for permission );
require_once "check_login.php"; $nowdate = date("Y-m-d H:i:s"); $message = ""; //print_r($cms_user_info); if($_GET["id"]){ $row = get_student((int)$_GET["id"]); $status = $_GET['status']; } if($row['id']){ // $lang = $_SESSION['langcode']; $sql = "update student_main set isphoneverified = 1, lastupdate=?, lastupby=? where id = ?"; $parameters = array($nowdate, $_SESSION['cmsloginid'], $row['id']); bind_pdo($sql, $parameters); } header("Location: student_index.php?msg=1&status=".$status);
|