INSERT INTO $tblname(col1,col2,col3) VALUES('$date','$time','$time') would be used to insert into target columns of the table.
If the table has 3 columns only: INSERT INTO $tblname VALUES('$date','$time','$time') will do.
Visit my page:
http://www.webrickco.com