Answers for "add string to integer php"

PHP
8

convert string to lowercase in php

/* strtolower() function converts  string to lowercase. */
<?php
echo strtolower("Hello WORLD 123");
?>
// Output:hello world 123
Posted by: Guest on July-17-2020
1

convert string to date php

$s = '08/11/2010 19:37:02';
$date = strtotime($s);
echo date('Y-m-d H:i:s', $date);
Posted by: Guest on November-13-2020

Browse Popular Code Answers by Language