Jump to content

Confirm message... ?


HakonHoy

Recommended Posts


[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]<A HREF='edit_other.asp?id=" & rs("ID") & "&mode=delete' " & "onClick=" & MyQuote & "return confirm('Are you sure you want to delete this news ?');" & MyQuote & "><font face='verdana, arial, helvetica' size='1' color='#014A65'>Delete</font></A> [/quote]


I got this code in ASP.. what I need is to have it in php.. what i'm actually most interested in is the return confirm thing.. is there a code for such a thing in php, if yes, can anyone please tell me what it is, I have been looking all over for it...
Link to comment
https://forums.phpfreaks.com/topic/4772-confirm-message/
Share on other sites

[!--quoteo(post=354261:date=Mar 12 2006, 07:26 PM:name=HakonHoy)--][div class=\'quotetop\']QUOTE(HakonHoy @ Mar 12 2006, 07:26 PM) [snapback]354261[/snapback][/div][div class=\'quotemain\'][!--quotec--]
I got this code in ASP.. what I need is to have it in php.. what i'm actually most interested in is the return confirm thing.. is there a code for such a thing in php, if yes, can anyone please tell me what it is, I have been looking all over for it...
[/quote]

That is pure HTML.. minus the [i]& rs("ID") &[/i] and [i]& MyQuote &[/i] Those are your ASP Functions...

rs("ID") refer to the recordset from the db, specifically the ID column, while MyQuote I could only speculate..

What I would suggest doing is learning how to pull data from a mySQL database, and going from there :)

Good luck!
Link to comment
https://forums.phpfreaks.com/topic/4772-confirm-message/#findComment-16750
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.