我试图将数组的每个值分隔在不同的变量中。
$sql1 = "SELECT comp,code, MATCH (job) AGAINST ('$offer' IN BOOLEAN MODE) AS score FROM general_comp ORDER BY score DESC";
$result = mysqli_query($connect, $sql1);
$gen = mysqli_fetch_assoc($result);
输出:数组 ( [comp] => 保险客户顾问 [code] => abc [score] => 2
我想要:
$comp = "Conseil clientèle en assurances";
$code = "abc";
$score = "2";
小怪兽爱吃肉
鸿蒙传说
达令说