I got a problem when i want to retrieve the "success" from the php code to app inventor.
( In blocks = when web1.GotText , i use get responseContent)
(Is there any query or something that i need to change to get the "success" from the php )Below are some images to help you understand my problem is,
If the question have been asked , sincerely please forward to me the link about the discussion .
Thanks in advance :)
Below are are my php code about login.
(MY PHP CODE : Login.php)
$myusername=$_GET['cust_id'];
$password=$_GET['pass'];
$SQL = "SELECT * FROM customer WHERE cust_id = '$myusername' AND pass = '$password'";
$result = mysqli_query($dbc,$SQL);
$num_rows = mysqli_num_rows($result);
if ($num_rows > 0)
{
echo "success";
}
else
{echo "failure";}
print $csv_output;