PHP substr Function | Return sub-string From A String

PHP substr is an inbuilt function in PHP which returns sub-string from a string. It is a very handy function for extracting a part of the string. In this post, we learn about the PHP substr function along with various examples. Syntax substr($string, $startIndex, $stringLength); Parameters The PHP substr function expects 2 mandatory input parameters.… Read more PHP substr Function | Return sub-string From A String

MySQL Math Functions You Should Know About

In this post, we will discuss the inbuilt Mathematical Functions in MySQL. These functions are of great help while dealing with numeric data and performing mathematical calculations on them. We will discuss below some of the important MySQL Math Functions with examples. All MySQL math functions return NULL when they encounter an error. For example,… Read more MySQL Math Functions You Should Know About