How to create prompt confirmation using php script? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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
0
you can put a Javascript code inside an echo statement. example : <? php echo("<script> your script <\script >") ; ? >
28th May 2017, 9:56 AM
Bahhaⵣ
Bahhaⵣ - avatar