How to create prompt confirmation using php script?

i want to create delete file, if person click delete, will open prompt confirmation, if false will redirect to first page, if true will continue deleting file. Can you sugest me.

28th May 2017, 9:39 AM
ari qrm
ari qrm - avatar
1 Answer
you can put a Javascript code inside an echo statement. example : <? php echo("<script> your script <\script >") ; ? >
28th May 2017, 9:56 AM
Bahhaⵣ - avatar