$sql="INSERT INTO Employment (JobTitle, StartDate, EndDate) VALUES('$_POST[jobtitle]','$_POST[startdate]','$_POST[enddate]')";
Once they're in the database, how do I access them individually in the following context:
if ($jobtitle=='123') {
echo "You're a software developer.";
} elseif ($jobtitle=='1234') {
echo "You're a software tester.";
}
Essentially, it's a recommender system where I need to be able to issue recommendations based off of the data in the database. I.e., if job title is this, if start date - end date = this, etc. I'm a beginner with mySQL. Any help would be greatly appreciated.

New Topic/Question
Reply


MultiQuote




|