Search
 
SCRIPT & CODE EXAMPLE
 

HTML

mysql date time to html input datetime-local value

<!-- CONVERT MYSQL DATE TIME TO DISPLAY HTML INPUT[datetime-local] VALUE -->
<input type='datetime-local' name='datetime' value='<?php echo date("Y-m-dTH:i", strtotime($details['datetime'])); ?>'>
Comment

PREVIOUS NEXT
Code Example
Html :: icon is not showing in html 
Html :: html radio label clickable 
Html :: how to only make a part bold in css 
Html :: html highlight text 
Html :: html marquee 
Html :: chrome toggle device toolbar not working 
Html :: svg with src in html 
Html :: html times 
Html :: css title and label aligned alongside image 
Html :: la balise center en html 
Html :: svg rounded corners 
Html :: types of passwords html 
Html :: how to change color in html 
Html :: how to add an image in html 
Html :: bootstrap table dense 
Html :: ignore text html elemnt 
Html :: bootstrap 5 input group 
Html :: how to set logo on site tab 
Html :: select all text in textarea javascript 
Html :: html image onclick 
Html :: hyper text markup language 
Html :: how to change the height of an image in html 
Html :: holy grail with flexbox 
Html :: how to add an html anchor 
Html :: bootstrap radio button 
Html :: where should favicon.ico be placed in flask app 
Html :: html image as button submit 
Html :: link to external site html 
Html :: on click in a tag 
Html :: bootstrap soft corner 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =