0
In my form I have this field:
<h5><strong>Data da Visita</strong></h5></h5> <input type="date" id="DataVisita" name="DataVisita" />
But if you run out of date, you don’t enter it in the database table, and I want you to enter it because I don’t always have to date it
You put
not null
in the date field when creating the table ?– RickPariz
No, I put
default null
– user104114
Which error is thrown when trying to insert ?
– RickPariz
No error, empty line
– user104114
Not saved in the bank, and there is no mistake ?
– RickPariz
No, how do I do the
echo
of that input to see the error?– user104114
I can see the PHP code that validates the form?
– RpgBoss