Quote:
PHP Code:
$usersid = $data['userid'];
$user = fetch_userinfo($usersid);
$username = $user['username'];
$subject= Email Notification: New Comment Posted';
$message="A new comment was posted. Please login to check.";
vbmail($user['username'], $subject, $message);
|
close but I think you want
PHP Code:
$usersid = $data['userid'];
$user = fetch_userinfo($usersid);
$username = $user['username'];
$subject= 'Email Notification: New Comment Posted';
$message="A new comment was posted. Please login to check.";
vbmail($user['email'], $subject, $message);
Modin