This is a novice question which should be easily answered by the pros on this board.
My server was using PHP version 5.2, and today I upgraded it to 5.4. After the upgrade, I discovered a problem with my code.
I have a registration form that sends the submitted data to my email address. My code was putting the e-mail address of the person submitting the form into the subject line of the e-mail that was being delivered to me. Here is the code that generated the subject line:
Code: Select all
$from = "00-00-00 $email" ;
After upgrading to PHP 5.4 today, the email string is no longer appearing in the subject of the email. Now, it just appears as "00-00-00 $email"
Is there something simple that I need to change here to make it work again? Thanks for any help that can be offered!