PHP Code:
$q "INSERT INTO uploaded_images (`filename`,`date`) VALUES ('$uploadFilename','".date(dMy)."')"
By the way you should really be using DATE or DATETIME column type for storing dates.