Home » Web development » Page 2

Web development

Useful PHP string functions

Here are detailed working on useful PHP string functions strlen() The PHP strlen() function returns the length of a string.The example below returns the length of the string “john”Example <?php echo strlen(“John”); ?> Output 4 Chr() Converts an ASCII value to its equivalent character Example The ASCII value 46 is the & symbol <?php $str …

Useful PHP string functions Read More »

PHP array functions

In this post , we will be discussing the php array functions. As with any other programming language,PHP has its own array functions What is array A array is the chain of values stored in single variable where values can be retrived based on there position in the array $arr ={a,b,c,d,e,f}; There are three type …

PHP array functions Read More »

How to use if else condition in php

if else condition in php PHP programming like other languages have the conditional statement processing also.Conditional statement add intelligence to our scripts. This gives us the functionality to perform various command based on various conditions We will be working on if/then/else statement in this post i.e if else in php The basic format for the if/then/else …

How to use if else condition in php Read More »

Scroll to Top