Jump to content


delete record on image click

  • Please log in to reply
1 reply to this topic

#1 ashish4172

  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 26 June 2006 - 08:58 AM

hi gurus

i would like to implement delete operation using image.It should pop up window asking to delete the record
with yes no option.if yes record is deleted.

how can i go about it.


#2 d_barszczak

  • Members
  • PipPipPip
  • Advanced Member
  • 188 posts
  • LocationBradford - UK

Posted 26 June 2006 - 09:05 AM


I would have the delete image link to a script that deletes the record but requires confirmation first.


delete.php?id=10 asks for confirmation which then submits to it self.

delete.php?id=10&confirm=true would the delete the record.

You could use a IF statement to make sure confirmation = true.

Either that or you could prob create a JavaScript Yes / No popup.

When all else fails - Try reading the manual.

Integrated IT Systems Ltd

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users