我之前在 php 中进行了一个项目,并得到了我正在将数组转换为字符串的通知。我想知道有没有办法绕过通知?
if(isset($_POST['acceptrequest' . $user_from])) {
$get_friend_check = mysql_query("SELECT friend_array FROM users WHERE username='$user'");
$get_friend_row = mysql_fetch_assoc($get_friend_check);
$friend_array = $get_friend_row['friend_array'];
$friendArray_explode = explode(",",$friend_array);
echo $friendArray_explode;
}