i am unable to concardinate i am getting error..
<?php
$subject = "You got a Project Invitation from ".echo $_SESSION['user_name'];
?>
Hi,
Please remove echo statement in concate.
i.e.
$subject = "You got a Project Invitation from ". $_SESSION['user_name'];
echo $subject;
Please check and let me know.
Thanks,
Ajay
example :-
<?php
$subject = "You got a Project Invitation from ". $_SESSION['user_name'];
echo $subject;
?>
I need to send it to mail
$subject = "You got a Project Invitation from ".echo $_SESSION['user_name'];
mail($to, $subject, $message, $headers);
Hi,
If you want to send mail via php, then I suggest you to go with PHPMailer.
Please see: http://phpmailer.worxware.com/index.php?pg=examplebmail
If you still having any issue please let me know.
Thanks,
Ajay
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.