I'm using a time method:
$time= date('h:i:s');
What I want is to put this time into database in mySQL,
I used:
$query = mysqli_query($conn, "INSERT INTO tab ('ltime') VALUES ($time)");
but it's not working
Where tab is a table and a ltime is a Column with time Type.
What am I doing wrong?
Regards