How to create prompt confirmation using php script? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
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