Need to edge out the competition for your dream job? Train for certifications today.
$entry = mysql_real_escape_string($_POST['entry']);
mysql_query("update notes set entry='$entry', list_date='$list_date' where userid='$userid'")or die(mysql_error());
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$to = $email2;
$message = $message . $entry;
$message = nl2br($message);
//echo("The value received is " . $to . "<BR>" . $subject . "<BR>" . $message . "<BR>" .$headers );
mail ($to, $subject, $message, $headers);
header("Location: control_panel_notebook.php?msg=Your entry has been sent.");
Open in new window
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.