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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.