Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在php中编写取消确认窗口_Php - Fatal编程技术网

如何在php中编写取消确认窗口

如何在php中编写取消确认窗口,php,Php,您好,我有一张要取消的预订表,但我想在取消之前得到取消确认窗口提示 我有以下代码,需要在行中添加哪些代码才能获得取消确认 if((($row['Event_status'] == 'Over')){ echo "<td><a href='CustPortal.php?booking_id=".$row['Booking_id']."'> Cancel</a></td>"; if(($row['Event_status']=='Over')){

您好,我有一张要取消的预订表,但我想在取消之前得到取消确认窗口提示

我有以下代码,需要在行中添加哪些代码才能获得取消确认

if((($row['Event_status'] == 'Over')){
echo "<td><a href='CustPortal.php?booking_id=".$row['Booking_id']."'> Cancel</a></td>"; 
if(($row['Event_status']=='Over')){
回声“;

您可以使用JavaScript实现以下目的:


您好,我对此不确定您只需在链接中添加“onclick”标记即可。