How to create prompt confirmation using php script? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
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