Hi, I have a date in european format, dd/mm/yyyy, how do I convert this so I can save it in MYSQL ?
thanks in advance.
[code=php] $sql = "INSERT INTO table_name (date_col) VALUES (STR_TO_DATE('$date', '%d/%m/%Y'))"; [/code]
Help @livewire1974 spread the word by sharing this article on Twitter...