i had a date in the format dd/mm/yyyy now i exploded this by "/" and got 3 array holding these values, after which i concatenated them in order and assigned it to a variable, now as I insert the value into variable type DATE, it doesnt go in, but i insert it into a varchar, it gets inserted. Help please??
If you want to use date variable, try formatting in query like this: date("Y-m-d H:i:s", strtotime($your_date))