i'm a newbie in php and i have the following scenario:
-One html pages that gathers all necessary information then on submit it passes info to
-A PHP script (lets call it "A") that does some calculation, sends an email using all data submitted and echoes data onto itself back to the user
-A PHP script (call it "B") that needs to send an email with partial data from the submitted form to a different email recipient
The problem is the following:
I know you cant do multiple ACTIONs for a single form. i've tried using a function that executes the scripts on both "onclick" and "onsubmission" with no luck. This is driving me completely crazy now!!
I'd appreciate your tip/assistance with this.