What are prepared statements in PHP?

A prepared statement is a feature used to execute the same (or similar) SQL statements repeatedly with high efficiency. Prepared statements basically work like this: Prepare: An SQL statement template is created and sent to the database. Certain values are left unspecified, called parameters (labeled “?” or :user). You can use text or a ‘?’symbol, […]

Read More…

How to write if statements in PHP

In this tutorial I show you how to write if statements in PHP. If statements are also referred to as conditional statements and they allow us to perform different functions in our programme when specific conditions are met. This tutorial also includes the use of PHP Comparison Operators and PHP Logical Operators. Further reading: W3Schools PHP […]

Read More…

XL Websites

XL Websites