Convert mobile number to international format dynamically with php theonepointwebdesign.co.uk - often need to covert mobile numbers into a UK international format of 44 followed by the number such as 442548951486 the numbers I work with can be in a mixed format some without a starting 0 others with 44 and same with spaces, so I wrote function that w
Cache Wordpress Query Strings Using Transient API paulund.co.uk - Luckily Wordpress comes with a Transient API where you can cache anything including results from queries. Below is a Wordpress snippet to use next time you need to make a custom query to the Wordpress database.
Show Urgent Messages In Wordpress Dashboard paulund.co.uk - These messages can be really be useful to Wordpress developers as you can let your users know about changes you are currently making. Using the below snippet you can add a Message to the dashboard, these can either be error messages or just a notice messa
PHP Syntax and Tags w3resource.com - There are four different pairs of opening and closing tags which can be used in php. Here is the list of tags.
Default syntax,Short open Tags,HTML Script Tags,ASP Style Tags.
PHP for loop w3resource.com - The PHP for loop allows the user to put all the loop-related statements (i.e. INITIALIZER; CONDITION; INCREMENTOR or DECREMENTOR) in one place. The structure is similar to C language.
PHP Data Types : Arrays w3resource.com - An array in PHP is a collection of key/value pairs. This means that it maps values to keys. Array keys (or indexes) may be either an integers or a strings whereas values can be any type.
Writing a Post Views Count Plugin: Part 1 tutorialstag.com - Writing a plugin to display post views count for each post, including shortcode and template tags feature to use it anywhere.
Cleaning Up Your PHP URLs wildphp.com - Using a simple .htaccess file with a few lines we can automatically add the .php file extension to any URL without it.
Php basics - variables markupplus.com - In this tutorial you will learn what are variables, how we can use them and why they are the most basic building block of any programming language.