Hai everybody,
I need help in the following value store in database double quotes
"$plan['plantitle'] "
for example
has commented on your plan "test "
anybody plz help
public function notifyCommentOnPlan($me, $comment,$plan,$section)
{
//var_dump($comment['personal_id']);exit;
//notify Plan owner
if($plan['personal_id']!=$me->getId())
{
$commentPlan = new Notification();
$commentPlan->setPersonalId($plan['personal_id']);
$commentPlan->setSenderId($me->getId());
$commentPlan->setTypeId(3);
$commentPlan->setMessage(ucfirst($me->getFullName()) . " has commented on your plan " .$plan['plantitle'] );
$commentPlan->setUserViewed(0);
$commentPlan->setRelativeItemId($plan['id']);
$commentPlan->setSection('me');
$commentPlan->save();
}