Sanitizing input with PHP and JavaScript

March 15th, 20170238 In PHP, there are a variety of ways in which you can sanitize the user input, depending on your needs. The htmlspecialchars function allows you to transform every...

Working with dates in PHP and JavaScript

February 13th, 20170115 You can use the date function to generate a date string of your desired format. As a second parameter, you can add a UNIX timestamp representing the date that you wish...

Working with APIs in PHP

February 13th, 20170160 Let us say that we want to use the OpenWeatherMap API to display the weather in an arbitrary city. We could achieve this in the following way

PHP Basics

February 2nd, 2017049 In this article we will teach you some PHP Basics like Data types, Mathematical operators, Comparison operators, Comments, Conditional Statements, Loops, Global...

Examining variable types in PHP

February 1st, 2017082 In PHP, there are a range of built-in functions which you can call to check variable types. They return a Boolean value - true if the variable is of that type and...
Page 1 of 212