hi
i have a page where all the username will be listed.i want to delete them.........before tat i want ask the user whether he wants to delete in a popup.if he clicks yes then his name should be deleted
1st page

<a href="http://cc.com/icc/delete.php?id=<? echo $value[0];?>"><img src="images/b_drop.png"  border="0"/></a>

delete.php

<?
  $id=$_GET['id'];
  echo $id;
require_once('common/dblayer.php');
$db=new dblayer();
$res=$db->delrec($id);
?>

Recommended Answers

All 5 Replies

Are you having trouble with the popup or the delete?

i want to know ho to dotst.delete is workig for me

i want to know how to do tat

i want to know ho to dotst.

I'm sorry but I don't know what you mean by "dotst".

sorry, are you asking on how to do the popup javascript for delete confirmation?

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.