-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathUntitled-2.php
32 lines (24 loc) · 1.16 KB
/
Untitled-2.php
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
29
30
31
32
<?php $query = "SELECT * FROM transaction WHERE id='".$_SESSION['user']['id']."'";
$fire = mysqli_query($connect,$query) or die(mysqli_error($connect));
$user = mysqli_fetch_array($fire);?>
<?php
if($user["rembalance=' '"]){ ?>
<script type="text/javascript">alert("you are not aproved from admin. Please wait for sometime.");
window.location.href='index.php';
</script>
<?php } else{ ?>
hbhj
<?php
if($_SESSION['user']['accountno'] == 0){
?> <script type="text/javascript">alert("you are not aproved from admin. Please wait for sometime.");
window.location.href='index.php';?> <?php } else { ?>
pro..
<?php
$query = "SELECT * FROM balance WHERE id='".$_SESSION['user']['cust_id']."'";
$fire = mysqli_query($connect,$query) or die(mysqli_error($connect));
$user = mysqli_fetch_array($fire);
if($user['acountno']==0){?>
<script type="text/javascript">alert("you are not aproved from admin. Please wait for sometime."); window.location.href='index.php';
</script>
<?php }
else{ ?>