PHP Constants are variables that once they have been defined,they cannot be changed. PHP Constants A constant is a name for a certain value.This value will remain unchanged when the script is execute All constants should either start with a letter or underscore i.e no $ sign is required when declaring a constant. NB:All constants […]

Read More


A string is a group of characters joined together like “I love programming”.  Functions in PHP Strings There are several PHP Strings functions that are used by programmers. Function to get String Length PHP strlen() function is used to get the length of a string.This function returns the string length in forms of a value. […]

Read More


PHP Data types PHP variables can be used to hold or store data of any kind.Data of different form can be used to perform differents tasks. Supported PHP Data types  are String Integer Float also refered to as Boolean Array Object NULL Resource PHP String String a group of characters eg”Programming in java” A string […]

Read More


PHP echo and print

PHP echo and print statements are the two  functions used  to output something on the screen.PHP variables can be displayed or output to the screen using these two statements. PHP echo and print These PHP echo and  print  are almost the same.They both display or output data on the screen. Differences between the two statements […]

Read More


PHP variable scope is the context which the php variable has been defined or the part where the variable can be used. Always ,php variables can be declared in any part of the  script Three PHP variable scopes: Local variable global variable static variable   Global Variable are the ones that are defined outside a function […]

Read More


In world of programming,Variables are just containers that are used to store information.When the program runs,these variables are used during the execution and results can be stored in the same variables or new ones that are defined as the program runs. In my Previous post,I shared about PHP Syntax  and wrote my first PHP program […]

Read More


Am going to write a simple php  Registration and login code that will execute in the same page containing the form.I always dont the way developers write and save their pages some as .php and others as.html. The importance of saving your website files as .php is that you can write html code and still […]

Read More


PHP Select query is used to retrieve data from mysql table and display using the echo() php function. Here is a  simple PHP code  that  can  be embedded in HTML and can be used to display table data. If we have a table customers that has the following fields Customer Id,Firstname,SecondName and Phone Number Those […]

Read More


Incase you are looking forward to becoming one of the greatest and best website developer of all time,you need to learn atleast one server side scripting language and also client side  scripting language. Types of Server side scripting language are like PHP,ASP and Perl.Many developers prefer using PHP because its a open source and there […]

Read More