Advertisement
desis123

PHP

Aug 16th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. preg_replace("(^https?://)", "", $url ); // replace both http and https
  2. --------------
  3. SELECT DATE_FORMAT(colName, '%Y-%m-%d') DATEONLY,
  4. DATE_FORMAT(colName,'%H:%i:%s') TIMEONLY
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement