$sample1 = "insert into table (id,date) value(1,'".date("Y-m-d H:i:s")."')"; $sample2 = "insert into user (name,date,created_by) value('perasuah negara', now(), 1)"