PHP | explode | implode | String function |explode vs implode

explode() and implode() string functions are very useful function we can solved biggest task using these two methods. The explode() function break the string into an array with particular separator/delimiter,  it splits the string wherever the delimiter character occurs. Syntax : explode(separator,string,limit) Here, separator :  will be anything which must be present in string e.g. … Read more

Javascript auto click button on page load

javascript-click

We taking about auto click on button on page load or any kind of event, then JavaScript will work here. Using this we can operate PHP as well as any Server-Side language but we must be use JavaScript or its Libraries. Script for javascript auto click button on page load Result of above program

print table in PHP| PHP program to print multiplication table from 1 to 10

Print table in php

Multiplication is define :  that a Mathematically operation where one number can multiply to other number, which symbolic representation is like :   a × b, a ⋅ b, a ∗ b, or ab,  where a and b are positive integer.  For example 2 x 5 = 10 means 2 +  2 + 2 + 2 … Read more

How to get image path from database in php

It’s very easy and simple. We need to Create Database for storing the user data. and write PHP script to get user data from the form and stored into database. We have provided all files and DB below of this blog. Let’s Create Database Using PhpMyadmin Go to in phpmyadmin (localhost/phpmyadmin) Login into phpmyadmin (Default … Read more

PHP | check prime number

There are 2 best-optimised logic for the checking prime number. Here matter of optimised mean, minimising Iterations. let’s start doing both scenario’s. Iterate through all numbers from 2 to n/2 and every number in between (2 to n/2) check it divides n or not. if n divided then return false(0) otherwise true(1) Result is : … Read more