It is best to print only required data which should be displayed to users, but sometimes we need to remove previously echoed or printed items based on certain condition. How do you do this in php?
Google ranks ( between 0 to 10 ) every page of your website. Mostly these ranks depends on number of back links to that page. Highly ranked pages will get higher position in the search results. Find out how to retrieve Google pagerank for given url using php
We sometimes need to filter strings which contains two or more dots, Regular expression is straight forward way to do this task. Lets see how it can be done.
mysqldump is a database backup program used to create copy of database or collection databases. When you run mysqldump, it will prompt you for password, on valid password it will create backup copy of the database in given path.
MySQL doesn't have any built in function to count number of occurrences in a string, so we need bit of tweak in our query to achieve make this work.
When we restructure website url, sometimes we need to redirect url from sub folder to root folder [ public_html ]. This can be done in two methods using htaccess.