Monday, February 18, 2019

Handling PHP Errors and Exceptions

1. Introduction In this article in this series will learn how we can handle errors and exceptions that occur when our PHP code is executed. We will learn about different types of errors and exceptions in PHP, how we can use...

Databases and working with MySQL

1. Introduction In this article, we are learning about databases and how we can connect to databases using PHP programs. Databases are used as information storage components in software systems. We can connect to databases using different technologies and programming language. Let's...

PHP, HTTP, and the web

1. Introduction The majority of our web works on a client-server model which is governed by the HTTP protocol. In this article, we are having an introductory look on HTTP protocol and different capabilities of PHP related to HTTP. Also,...

Looping around in PHP

1. Introduction In this article in the series, we are learning about different types of loops. Loops are programming constructs that can be used to repeat a particular task, or in other words, we can say loops are used to...

Fun with conditional logic

1. Introduction In this article, we are learning about the different programming constructs that can help us in implementing conditions and to branch the execution of our programs logically. We will learn about if-else construct, switch statements and ternary operator....

Operators in PHP

1. Introduction Operators allow us to perform certain operations with values, arrays, and variables. There are several different types of operators. In PHP 7, two new operators were introduced - null coalescing and spaceship operator. We have covered them as well....

String manipulation in PHP

1. Introduction In the last article in this series, we learned about arrays. In this article, we will learn about strings in PHP. String is a collection or sequence of characters. "Bootsity" is an example of string. Now, let's learn...

Working with Arrays in PHP

1. Introduction An array stores multiple values of similar types in one single variable. Assume a scenario in which you want to store names of all the planets in our solar system. To store them you will need eight variables...

All about variables and constants

1. Introduction In the first post of this series, we learned how to write a hello world program in PHP. In this second post, we are exploring about variables and constants in PHP. In simple terms, variables are storage areas in...

The hello world program in PHP

1. Overview We start learning any programming language, with the famous hello world! program. This tradition is followed religiously since the inception of software programming, and we are happy that we will support it too. We will learn the basics...
Subscribe our newsletter
Get your copy of free ebook