Hey guys welcome to another fresh video ,in this video i will show you how to redirect your 404 page error to home page in wordpress. ————————Code————————— <?php header(“HTTP/1.1 301 Moved Permanently”); header(“Location: “.get_bloginfo(‘url’)); exit(); ?>s
Read More »Use str_replace function in php to replace string word
How to replace given characters inside string variable using user given in php. Str_replace() function is used to replace characters of a string variable with user given characters and update the string after replacing process. So here is the complete step by step tutorial for Use str_replace function in php …
Read More »Use strpos function in php to find specific text within string
Search given text within string variable using strpos() string function in php. Strpos() method is used to search specific text within the given string variable and if this function finds the given character or string then it will return the characters position in numeric form. So here is the complete …
Read More »Reverse string without strrev function in php using looping control
Set string variable into reverse form using for loop and strlen() method. Normally string functions gives us the facility to directly set string variable into reverse form but some times web developer needs to reverse string without using strrev() function in their programs in php coding page. So here is …
Read More »Reverse string variable using strrev function in php
How to make all string words into reverse format with the use of strrev() function in php example. Strrev() method is used to reverse the whole passing string variable value and convert string into reverse format. So here is the complete step by step tutorial for Reverse string variable using …
Read More »Use str_word_count function in php to count number of words in string
How to find out total number of words in string variable. str_word_count() function is used to count + get total number of words inside a complete string variable. With the help of this string function web developer can get number of words written in web pages and show them below …
Read More »Use strlen function in php to get count string length
How to find string variable length in numbers in php using strlen() function. Strlen() function is a type of string function used to discover string variable length in numeric format. This function is mostly used where web developer needs to set string variable length restriction to its user that user …
Read More »Print Echo array values on screen using forEach loop in php
Display all array list elements one by one using ForEach loop control statement echo in php script. For-Each loop is one of the most popular looping control statement basically applied to display array list elements on screen in php programming language because. ForEach loop gives us the facility to directly …
Read More »Create table into MySQL db using Php script dynamically
Add tables inside existing MySQL database with use of Php sql query coding on button click. Building tables using php coding script is very easy because all you have to do is define one time php script code to create table into database then all you have to do is run php …
Read More »Create database in mysql using php coding script
Automatically generate db in MySQL phpmyadmin Programmatically through php coding. Creating database using php scripting coding is very similar to manually create database using phpmyadmin xampp control panel but in manually method web developer need to open phpmyadmin and then create db itself but using php script all you have to do …
Read More »