I'm not sure if I using the correct function.
Basically I am wanting to create a date and insert this in to an SQL statement, with a y-m-d format.
I tried using this: $today = date("Y-j-n");
It prints fine on screen but doesn't insert in to the db any ideas?
This is the sql I am using:
$sql = "INSERT INTO JOB (jobid, date, title, description, location, skills, salary, industry) VALUES ('$jobid', '$today', '$title', '$description', '$location', '$skills', '$salary', '$industry')";