#php
Read more stories on Hashnode
Articles with this tag
We can think of a function as a verb to do something, functions are a set of instructions on what we want to do. Let's filter our book array so we...
Associative arrays are arrays where we pair a key with a value, each key in the array gives a value let's see an example: here we have an array of...
An array is like a folder, we can take a group or list of things and put it in the array, if we want to represent a list of our favorite books, for...
A boolean variable can only be true or false; We declared the variable $name as the name of the book, and the variable $read as our boolean variable, ...
To declare a variable in PHP we write the $ sign before the name of the variable : for example, let's declare a variable named greeting and assign the...
index.php : "Hello World" is a string of characters. A string of characters is text. echo "Hello World" means prints the text onto the page. <!doctype...