the easiest way is to setup a database if you have access, create a form that sends the login information from the session
$ARG['userid'] = $_SESSION['userid']';
$ARG['write'] = $_SESSION['level'];
or something, and then in your php use something like
$sql = "SELECT * FROM notes WHERE `userid` = '".$ARG['userid'].'" ORDER BY noteDate DESC;
if you have a database setup in that fashion, it will pull out all the notes for that individual. Then you use either a foreach or for, while or do{}while loop to output the data. even a nested if statement if you like...
Last edited by justinm : Mar 28th, 2007 at 12:28 am.