Use the global $db object anywhere:
What I do is provide you with a comprehensive, structured written guide on PHPRAD (similar in depth to a long tutorial chapter) that you can copy into a Word/Google Doc and save as PDF yourself. phprad tutorial pdf
function AfterInsert($values) mail('admin@example.com', 'New Product', $values['name']); return true; Use the global $db object anywhere: What I
Use the global $db object anywhere:
What I do is provide you with a comprehensive, structured written guide on PHPRAD (similar in depth to a long tutorial chapter) that you can copy into a Word/Google Doc and save as PDF yourself.
function AfterInsert($values) mail('admin@example.com', 'New Product', $values['name']); return true;