This topic is locked

Email using Events

1/16/2006 12:03:59 PM
PHPRunner General questions
C
crono999 author

I'm trying to use the "Send email with new data" feature under TABLE EVENTS --> ADD PAGE --> BEFORE RECORD ADDED. When I build and run the project, any time I try to load the "_add.php" page, I get this error:
Parse error: parse error, unexpected T_CONCAT_EQUAL in /usr/local/etc/httpd/htdocs/test/include/logger_events.php on line 17
Any help would be greatly appreciated.

admin 1/17/2006

Hi,
thank you for pointing me to this.

There is bug in sample event code. We'll fix it in the next PHPRunner update.
To get your event working now please modify the line in event code this way:

$message.= $field." : ".$value."\r\n";



Add a dollar sign to "message".