Anyone knows how to code in this:
when i delete a particular record,it display first " Are you sure, you want to delete?<br>Yes, No"
all i know is in Vb but i dont know in php..i know if-else statement are present in that code..tnx in advance!
takeshi
0
Junior Poster in Training
Recommended Answers
Jump to PostNo way to do it in PHP.
VB or JS are at client side, PHP only server side. Anyway you can create a page in php with such task using HTML forms...
Jump to PostYou'd be better off with js - or ajax.
You need the js 'confirm' popup. This can be linked 'ajaxibly' to a php file which could delete file/db record, whatever, in the background and then refresh your displayed list of records/files - all without the need for whole page …
Jump to Postso what's the code for that?
For what? Which bit?
All 9 Replies
amd_k8
1
Light Poster
diafol
takeshi
0
Junior Poster in Training
diafol
takeshi
0
Junior Poster in Training
praveen_dusari
11
Posting Whiz in Training
vaultdweller123
32
Posting Pro
diafol
vaultdweller123
32
Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.