Generally, once we upload image enter PHP, the uploaded image is stored during a directory of the server and therefore the respective image name is stored into the database. At…
What is PHP? The PHP (Hypertext Preprocessor) is a server scripting language, used for making dynamic web pages. PHP is an open source software and it is free to download…
In CodeIgniter, the Model is used for the Database manipulation – fetch, insert, update, and delete records. If within the project there are multiple Models are available then it may…
array.length: length is a final variable applicable for arrays. With the help of length variable, we will obtain the dimensions of the array. string.length(): length() method is a final variable…
What is an Array? Arrays are used to store multiple values in a single variable, instead of declaring separate variables for each value. To declare an array, define the variable…
By default, everyone is able to access and browse through your wp-content folder by adding ‘wp-content/uploads’ to your domain name. This means they’ll be able to see all ‘Media’ files…
You can force all of your pages to use HTTPS. To do this you will need to modify your .htaccess file. Using the Code Editor in the File Manager, add these lines to…
Hi everyone in this tutorial we are going to see how to create Apply Promo code or Coupon code in Php using Ajax. here the complete 100% working code. index.php…
Change Date from dd/mm/yyyy to yyyy-dd-mm for MYSQL Friendly is simple. Possibly a more MySQL friendly format in some circumstances and Convert date from YYYY/MM/DD to DD.MM.YYYY (and from DD.MM.YYYY…
The substr_count() function is a built-in function in PHP which is used counts the number of times a substring occurs in a string. Note: This function does not count overlapped substrings.…
The str_replace() function is an built-in function in PHP which is used to replaces any portion of a string with another string. This function is binary-safe. Note: This function is…
The strrev() function is an built-in function in PHP which is used to reverse strings. Syntax: string – This parameter is required. It specifies the string to reverse. Example: