html - PHP Input type "datetime-local": value not showing when in edit mode

353
      Pick up Date
         <div >
          <input type="datetime-local"      name="DatePickUp" id="DatePickUp" value="{{$pb->DatePU}}">
         </div>

I'm trying to display the date from my database when I'm editing the value, but every time I click on edit, it shows an empty form and I have to put the date again.

I tried changing input type to "date" and it's working fine, but when I tried changing it into "datetime-local" , it's not displaying the value in edit mode.

People are also looking for solutions to the problem: apache2 - is it possible to cache a php page that have "GET" variables with 'Cache-Control: public, max-age=n' header?

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.