how to find length of string in php | how to find length of string without using string function in php | how to find length of string without using strlen in php

how to find length of string without using string function in php

To find length of string in php, it’s very simple you can use the PHP strlen() function to get the length of a string. The strlen() function return the length of the string on success, and 0 if the string is empty. But whenever someone asked to how to find length of string without using … Read more

4 string functions to convert string case in PHP | strtoupper() function in php | strtolower() function in php | ucfirst | ucwords function in php

strtolower and strtoupper

Dear Readers. In this article we will discuss 4 PHP functions to convert case of letter one by one. strtoupper strtolower ucfirst ucwords What is string ? A string is a collection/sequence of characters. String is one of the data types supported by PHP. The string variables can contain alphanumeric characters. Strings are created when; … Read more

PHP string functions programs | str_replace functions in php | how to find and replace string in php

String Replace

Dear Friend, In this article we will discuss about str_replace function in PHP which is most popular and useful string functions. what is str_replace function ? The str_replace() is a built-in function in PHP and is used to replace all the occurrences of the search string by replacement string. Search and replace string can be … Read more

String reverse without using library function in php | PHP reverse string without strrev | String manipulation programs in php

Reverse String without inbuilt function in PHP

PHP reverse string without strrev, This is very simple to reverse a String in PHP by using inbuild function strrev. But sometimes in php interview, interviewer may ask how to Reverse a String in PHP without using strrev function or String reverse without using library function in php There are few simple steps to answer … Read more

PHP interview questions | php interview questions and answers | top 70 php interview questions and answers | top 70 php interview questions and answers for 0 – 4 years experience

PHP Interview questions and answers

Dear Programmers, in this article we will discussed on PHP Interview Questions and Answers in details.  As per our experience and expectation, this article will cover more than 80% of PHP Interview Questions and Answers. Later on if you will work on project, even it will help lots.   We are trying to provide best … Read more

swap two variables | swap two variables in php

how to swap values of two variables without using third variable

Two numbers can be swapped or exchanged. It means first number will become second and second number will become first. For example Swapping can be done by 2 ways. Using third (temporary) variable without using third (temporary) variable Using Third Variable swap 2 variables without using third variable. Note: br or b used for break … Read more

crud operations in php | simple crud operations in php using mysqli | php crud with login

Crud Operations

CRUD stand for Create, Read, Update and Delete basic function in computer programming language. In other words are sometimes used when defining the four basic functions of CRUD, such as retrieve instead of read, modify instead of update, insert instead of create ,or destroy instead of delete. Table structure of CRUD Operations SQL HTTP RestFul … Read more

install PHP MySql Apache in windows 10 | Install PHP MySql Apache

Install PHP MySql Apache

Install PHP MySql Apache in windows 10, You need to check your system configuration. System type is 32-bit Operating System or 64-bit Operating System. Just type google in your browser Search “xampp download” in google Click on link , as below As per your system configuration download the latest version of PHP Note: Very Old … Read more

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