Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //////////////////////////////////// Halaman Controller ///////////////////////////////////////////////
- public function verifymahasiswa()
- {
- $userName = $_POST['nim'];
- $userPassword = $_POST['password'];
- $status = array("NAMA"=>"false");
- if($userName=='Jenisa' && $userPassword=='masuk'){
- $status = array("NAMA"=>"Jenisa");
- }
- echo json_encode ($status) ;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement