PHP date to MySQL date questions

The only code you posted in that question was assigning the date string to a variable, so I assume that was your intention.