This topic is locked
[SOLVED]

 Custom Delete Button

9/14/2012 9:03:48 AM
PHPRunner General questions
N
netmedia59 author

Hello,
Is there a way in PHPRunner 6.1 to create a custom delete button and then use the method :

use List page: Before delete event
global $dal;
//delete records

if(@$_POST["a"]=="delete")

return true;
//send emails
if(@$_POST["a"]=="email")

{

// send the email
to send mails to multiple emails with a custom content
Thanks again
Olivier

Sergey Kornilov admin 9/14/2012

Yes, you can do that using 'Insert button' function. In OnServer tab you can implement PHP code that deletes data and sends the email.