Hi all,
I have a Delete function here whereby when I click on Delete it will
actually have some kinda popup window to prompt user whether they are sure to
delete the following data.So, anyone have any idea how to create this popup
window using PHP??
Appreciate very much for any
Impossible, PHP is server side, look into javascript of some other client
side language to create pop-up windows.
- Original Message -
From: [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 3:00 AM
Subject: [PHP] Create Popup Window using PHP
Hi all
I use something like:
a href=delete.php?id=123 onclick=return myconfirm('Do you ...
?',this.href)
script
function myconfirm(str, href) {
if(!confirm(str)) {
return false;
} else {
document.location.href=href + confirm=1;
}
}
/script
In delete.php check for
3 matches
Mail list logo