Tutorials

Develop Secure PHP Applications with PDO Statements

The PHP Data Objects (PDO) extension defines a lightweight, consistent interface for accessing databases in PHP. Each database driver that implements the PDO interface can expose database-specific features as regular extension functions. Note that you cannot perform any database functions using the PDO extension by itself; you must use a database-specific PDO driver to access […]

Tutorials

[PHP] IF-ELSE Statement – A new way around

Writing PHP applications is pretty easy. Most people grasp the syntax rather quickly and will within short time be able to produce a script that works using tutorials, references, books, and blogs like the one we have here at Yeahhub.com. The problem is that most people forget one of the most important aspects that one must consider […]

Tutorials

Complete PHP Tutorial – Chapter 8

PHP Functions always plays an important role in programming while developing an application/site in PHP language. User Defined Functions A function is a block of code that needs to be used multiple times throughout your code. They aren’t executed upon loading of a script but instead when they are called upon. A user defined function […]

Tutorials

Complete PHP Tutorial – Chapter 3

In this tutorial, you’ll learn about PHP Variables, Constants and Parameters. Regular Variables Variables are containers which we use for storing information. PHP variables work a bit differently to other languages so I suggest you pay close attention here. A variable starts with a dollar sign ($) which is then followed by the name of […]