session_start(); if ( isset($_POST[notes]) ) { $notes = htmlspecialchars($_POST[notes]); $notes = stripslashes($notes); $_SESSION[notes] = $notes; } ?>