$sth = $dbh->prepare("INSERT INTO news(id, username, month, day, hour, min, AP, title, description, year) VALUES ('', '$user', '$months[$mon]', '$mday', '@hours[$hour]', '$min', '$AP', ?, ?, '$year')"); $sth->execute(param("title"), param("des"));