This topic is locked

get value from parent record

12/3/2013 5:33:06 PM
PHPRunner General questions
W
wfcentral author

I have a reservation system for several cabins. The cabin table has a contact email. When a reservation (child) is added against a cabin (parent) I want to email that contact email address.
How do I call a value from a parent table for use in the event email function?

C
cgphp 12/3/2013

Check the "Email" events section of the user manual http://xlinesoft.com/phprunner/docs/email_selected_records.htm
You will have to fecth data from the master table with a custom query.