PHP Switch vs if elseif
In PHP if & elseif is something i was always using when in fact a simple switch would have done the job and looked cleaner. Looking at the following Switch…
In PHP if & elseif is something i was always using when in fact a simple switch would have done the job and looked cleaner. Looking at the following Switch…
If you want to randomise a PHP variable the following code is a great example: $vars = [‘Apple’, ‘Orange’, ‘Melon’, ‘Lemon’, ‘Lime’]; $random = $vars[mt_rand(0, count($vars) – 1)]; echo $random;…
PHP GET sends data or a value through the URL, obviously not good or used for passwords but it is good to shape that URL’s page contents. Do note that…
Domain names became a thing because its easier to remember them than an ip address, every domain name has an ip address. An example of an ip address could be:…
Whilst storing data in a json file would not be preferred over using a MYSQL database here is how to do it with a quick example and then a more…
SSL stands for Secure Sockets Layer. It is a security measure for encrypting the link between the web server and the browser. Making the data passed through this link encrypted…
Google fonts is an extremely useful resource for web developers. It offers 843 font families that can easily be used on a web page. Making styling and theming a website…
Think of all the different screen sizes an devices you can browse the web on, have you ever browsed a website on your phone and it was horribly ‘broken’ and…
API Application Programming Interface. Simply an api is simple interaction between a server and application or browser. A fine example is sending a tweet, The browser and IOS or android…
Yoast SEO thankyou, but i want my WordPress panel to not be slow and bloated. I am always sceptical of programs, software or tools which offer a free tier alongside…