Skip to content

Tag: php

Update a NULL datetime column from PHP form

So I’ve been trying possible solutions but didn’t get any success. I wanted to UPDATE the “timeOut” column (which has a NULL value) at the end of the day. I wanted to change it from NULL to whatever …

htmlspecialchars() when print view

I get the error: htmlspecialchars() expects parameter 1 to be string, object given When print the view get the error, I don’t understand what is wrong in my code. I have print and object? How …