我在genymotion上尝试了几个虚拟设备,包括带有android 4.3的自定义手机和带有android 4.4的google nexus 7,它们都不适用于$target = $_GET['user'];
$id = $_SESSION['id'];
$targetusername = mysqli_query($connection,"SELECT username FROM user WHERE id='$target' ")or die(mysqli_error($connection));
$username= mysqli_query($connection,"SELECT username FROM user WHERE id='$id'") or die(mysqli_error($connection));
$direct_message_room_name ="INSERT INTO direct_message_room(`direct_message_room_name`,`user_1_id`,`user_2_id`) VALUES (('$targetusername' + ' and ' + '$username'),'$id','$target')";
。这就是我的工作:
它没有显示任何内容。这是一个错误吗?有没有其他方法可以显示所有网络接口和IP地址?
答案 0 :(得分:1)
试试这个:
希望这有帮助! :)