0

Parse error

syntax error, unexpected '$_POST'(T_VARIABEL) in C:\xampp\htdocs\kerjaan\proses_login.php on line 6

7th Jan 2018, 10:44 AM
Achmad Imannudin
Achmad Imannudin - avatar
4 Answers
+ 2
$_POST['T_VARIABEL']
7th Jan 2018, 10:51 AM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
0
solved :v
7th Jan 2018, 10:51 AM
Achmad Imannudin
Achmad Imannudin - avatar
0
<?php include_once("function/helper.php"); include_once("function/helper.php"); email = $_POST['email']; password = md5($_POST['password']); $query = mysqli_query($koneksi, "SELECT * from user WHERE email='$email' AND password='$password' and status='on'"); if(mysqli_num_rows($query) == 0){ header("location:".BASE_URL."index. php?page=login&notif=true"); }else{ $row = mysqli_fetch_assoc($query); session_start(); $_SESSION['user_id'] = $row['user_id]; $_SESSION['nama'] = $row['nama]; $_SESSION['level'] = $row['level]; header("location:".BASE_URL."index.php?page=my_profile&module=pesanan&action=list"); }
7th Jan 2018, 11:01 AM
Achmad Imannudin
Achmad Imannudin - avatar
0
yes
7th Jan 2018, 11:02 AM
Achmad Imannudin
Achmad Imannudin - avatar