gpt4 book ai didi

php - App Inventor/PHP 应用程序停止在 Note 4 上运行

转载 作者:行者123 更新时间:2023-11-29 03:30:23 25 4
gpt4 key购买 nike

我们一直在使用一个应用程序,它通过连接 mysql 数据库并向其提交值来为我们的工程师打卡/打卡。从 13 日开始,该应用程序似乎已停止在 note 4 上运行,但在 note 2 上仍然运行良好。

我们想知道固件更新是否可能阻止了这个应用程序的工作,因为我们一直在使用这个应用程序,直到 13 日才完全没有问题,而且它似乎只影响那些拥有 note 4 的人?

App Inventor Code

<?php
$con=mysqli_connect("localhost","***********","**********","appacmef_App");
// Check connection
if (mysqli_connect_errno()) {
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}

// escape variables for security
$employeeid = mysqli_real_escape_string($con, $_GET['employeeid']);
$time = mysqli_real_escape_string($con, $_GET['time']);
$longitude = mysqli_real_escape_string($con, $_GET['longitude']);
$lattitude = mysqli_real_escape_string($con, $_GET['lattitude']);
$vanreg = mysqli_real_escape_string($con, $_GET['vanreg']);


$sql="INSERT INTO clockings (employeeid, time, longitude, lattitude, vanreg)
VALUES ('$employeeid', '$time', '$longitude', '$lattitude', '$vanreg')";

if (!mysqli_query($con,$sql)) {
die('Error: ' . mysqli_error($con));
}

mysqli_close($con);
?>

如有任何帮助,我们将不胜感激。

最佳答案

我已经更改了积木,现在它又可以工作了 enter image description here

关于php - App Inventor/PHP 应用程序停止在 Note 4 上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31457713/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com