I have the following code:
function dbInsert() { global $dbcon, $dbtable; global $inputData; $sqlQuery = \'INSERT INTO \' . $dbtable . \' (id_author
You could take a look at the STR_TO_DATE function. It takes a format parameter. The allowed values for the format parameter are described here.
$sqlQuery = 'INSERT INTO ' . $dbtable . ' (id_author, date, title, description)' . ' VALUES (?, STR_TO_DATE(?, \'%d.%m.%Y\'), ?, ?)';