httpResponseMsg没有返回任何形式的PHP文件

时间:2018-03-22 07:26:15

标签: php android

当我尝试运行我的代码时,我在Tost表单PHP文件中有空值。 那么如何解决这个问题?

enter image description here

<?php

include 'catcher_connction.php';
$con = mysqli_connect($HostName, $HostUser, $HostPass, $DatabaseName);

$u_email    = $_POST['email'];
$u_password = $_POST['password'];

$Sql_Query = "SELECT * FROM trader WHERE Email = '$u_email' and Password = '$u_password' ";

$check = mysqli_fetch_array(mysqli_query($con, $Sql_Query));

if (isset($check)) {
    echo "Data Matched";
} else {
    echo "Invalid Username or Password Please Try Again";
}
?>

这是我的php文件:

zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so
xdebug.remote_enable=1
xdebug.remote_connect_back=0
xdebug.remote_autostart=0
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_port=9000
xdebug.idekey=PHPSTORM
xdebug.remote_host=hostmachine

0 个答案:

没有答案