How Can I Do a Redirect to Different URL Before Page Load?
Let’s say that you want all the visitor on the webpage https://example.com/initial.php to https://example.com/final.php. This can be done using several...
Let’s say that you want all the visitor on the webpage https://example.com/initial.php to https://example.com/final.php. This can be done using several...
Nitish
Let’s say you have an array and you want to delete one or more elements from that array using PHP....
Nitish
When looking for a word, character or substring inside another string, it is very common to check if the main...
Nitish
Let’s say you have a string and you want to check if it contains a specific word, character or substring....
Nitish
Calculating the difference between two dates is not as easy as it sounds. There are a lot of things that...
Nitish
DatePeriod class Methods in PHP Function Name Function Description DatePeriod::__construct() Creates a new DatePeriod object DatePeriod::getDateInterval() Gets the interval DatePeriod::getEndDate()...
Nitish
DateTime class Methods in PHP Function Name Function Description DateTime::add() Adds an amount of days, months, years, hours, minutes and...
Nitish
Arbitrary Precision Maths Functions in PHP Function Name Function Description bcadd() Add two arbitrary precision numbers bccomp() Compare two arbitrary...
Nitish
Miscellaneous Maths Functions in PHP Function Name Function Description deg2rad() Converts the number in degrees to the radian equivalent hypot()...
Nitish
Numerical Functions in PHP Function Name Function Description abs() Absolute value ceil() Round fractions up floor() Round fractions down fmod()...
Nitish