J
J
jdmrhyde2021-06-14 01:06:39
PHP
jdmrhyde, 2021-06-14 01:06:39

Data entry into the database is done through the datetime-local form and with the help of PDO what parameter should be in PDO?

This form sets the date
input type="datetime-local" class="form-control" name='data'

And this is a line in the input to the database via PDO
$data->bindParam(":data", $data, PDO: :PARAM_STR);

What should PARAM be?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question