This form then calles onto another file called addentry.php. This file connects and inserts the data from the form into the mysql database.
In the end of my addendtry.php i have:
echo "Thank you ". $_SESSION['F_NAME'] .", your entry was successfully added to the database.";
This tells the user that the data was entered and it takes the user back to the original form to log more data...
The only problem is that session.php's first line: session_start(); shouldn't be there since it already exists in addentry.php and this is why i'm getting this error at the top of the page:
Notice: A session had already been started - ignoring session_start()