开发者

Php Unlink Button For Each Link [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_如何学Go Closed 11 years ago.

I want to put delete button for each link.Links are from directory This button is going to should delete these file but i stuck there.This is my code

echo '<a target="_blank" href="'.$dir.$file.'">'.$file.'</a><button>AA</button><br>'."\n";


You could call a server side function (ajax or post) that takes $dir and $file and deletes the file off the server

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜