$mailToUsers[] = "\"$toUserInfo[name]\" <$toUserInfo[]email>";
Should there not be something in the brackets above? i.e. $toUserInfo[]email doesn't look pleasent... at least to me :)
Thomas.
if( "$fromUserInfo[trades_notification]" ) {
$mailToUsers[] = "\"$fromUserInfo[name]\" <$fromUserInfo[email]>";
}
When I try to run my script, I get the following error:
Parse error: parse error, expecting T_STRING' or T_VARIABLE' or `T_NUM
_STRING' in ./parse_email.php on line 126
Line 126 is this one:
if( "$toUserInfo[trades_notification]" ) {
however, even if I change it to
if( 1 == 1 ) {
I get the same error.
What's going on?!?
Chris