Sanitizing input with PHP and JavaScript

March 15th, 201701250 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, 201701060 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, 2017151368 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, 20170665 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, 20170324 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 3 of 41234