Php Unlink Button For Each Link [closed]
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
精彩评论