“。$ row ['title']。”“; / *按钮无法在脚本中调用函数* /
echo“”;
$ query = mysqli_query($ link,“SELECT * FROM careerdetails WHERE careerTitle ='”。$ row ['title']。“'”);
while($ row1 = mysqli_fetch_array($ query)){
echo'
答案 0 :(得分:0)
删除(id)$index++
echo "<button onclick='myFunction(" .$index++.")'
class='w3-button w3-block w3-left-align'>".$row['title']."</button>";