【发布时间】:2013-01-30 18:41:10
【问题描述】:
我有一些 PHP 代码正在尝试添加删除确认。但是导致错误...
$arr_data[$array_pos][] = 'a href="delete.php?pid='.$row['pid'].'"
onclick="return confirm('Are you sure want to delete')">delete<';
onclick 代码导致了问题。由于我的知识非常有限(零!),我无法找到解决方法,因此我们将不胜感激。
onclick="return confirm('Are you sure want to delete')"
(我删除了超链接 HTML 代码以便显示)
【问题讨论】:
标签: php confirmation