This topic is locked

Intercept values in Print page

11/8/2010 7:51:52 PM
PHPRunner General questions
A
aptivus author

Dear Friends,

when I make a selection of records from the List page and click on Print selection

I would like to be able to intercept the values of the row in order to perform some custom

actions.
The table has this kind of record configuration:

id + name + last name + email + country + discount
I would like to be able to intercept

name, last name and email

in order to send a customized email to each record like:

Dear NAME LAST_NAME,

thank you for your activity on our website.

You deserve a DISCOUNT % of discount on your next orders.

Kind regards,

The team


I have tried with vectors: $data, $values, $keys....NOTHING AT ALL <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=15687&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' />

Any idea?

Thank you
Francesco

Sergey Kornilov admin 11/9/2010

I recommend to check these articles that explain how to process multiple rows on the list page:

http://xlinesoft.com/phprunner/docs/email_selected_records.htm

http://xlinesoft.com/phprunner/docs/update_multiple_records.htm