How to create prompt confirmation using php script? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
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