当我运行以下 MySQL 查询时
$result = mysql_query("SELECT * FROM credentials ORDER BY RAND() LIMIT 1");
$result =mysql_fetch_row($result);
$username=$result["username"];
$password=$result["password"];
$gateway=$result["gateway"];
我收到以下错误:
注意:未定义索引:第 78 行 C:\xampp\htdocs\switch\switch\index.php 中的用户名
注意:未定义索引:第 79 行 C:\xampp\htdocs\switch\switch\index.php 中的密码
注意:未定义索引:第 80 行 C:\xampp\htdocs\switch\switch\index.php 中的网关
有人可以帮帮我吗?