I cannot write a script that will receive data sent from the client (android) and then verify it with the Oracle database, then send a response to the client that a pair has been found and the client will be logged
That's what I got at the moment
<?php error_reporting(E_ALL); $response = array(); $connect = oci_connect("", "",""); if($connect == false) { $response['status'] = 'NOT_CONNECT'; } else { $parseLogPass = oci_parse($connect, 'SELECT ID_CUSTOMER, PASSWORD FROM CUSTOMERS'); $ID_CUSTOMER = $_POST['ID_CUSTOMER']; $PASSWORD = $_POST['PASSWORD']; $ex = oci_execute($parseLogPass); if(!$ex) { $response["status"] = "FAILED"; } else { $response["status"] = "SUCCESS"; } oci_free_statement($parseLogPass); oci_close($connect); $connect = null; } echo json_encode($response); die(); ?> The data insertion script works fine, but the subject does not know how to finish