<script>
function doDel(id) {
alert(id);
if(confirm('Confirm deletion? ')) {
window.location='action.php?action=del&p_id='
;
PHP in
echo "<td>
'p_id']})'>Delete</a>
</td>";
## Problems encountered: I am now A number like $row['p_id']=20151000 can be passed, but once $row['p_id']=qwq121, it will show that qwq121 is undefined. How to solve it?
Brother dei must have quotation marks $row['p_id']='qwq121';$row['p_id']="qwq121";