To format a phone number before displaying it on the page, you can use the following function. This function insert spaces so that the phone number becomes easier to read by the user. 110 more words
Tags » Code Snippet
Adding a Background Video to your website is pretty easy with HTML5 Video tag.
<div class="video_container"> <video autoplay loop poster="includes/sample.jpg" id="vid"> <source src="includes/sample.webm" type="video/webm"> <source src="includes/sample.mp4" type="video/mp4"> </video> </div> … 58 more words
With the below PHP code you can recursively delete all the contents in the directory and then the directory itself. This function checks for sub files and sub directories and delete them first before deleting the main folder. 36 more words