How to convert XML to JSON using PHP code
This post show how to convert XML to JSON using PHP code. json_encode() function converts valid XML to JSON Following is example: In this example, we have an empty data.json…
Simply Explaining Technology
This post show how to convert XML to JSON using PHP code. json_encode() function converts valid XML to JSON Following is example: In this example, we have an empty data.json…
To rename multiple files using the command line, you can use the rename command or a shell script. Its syntax is as follows. As you can see, the catch is…
Recently, I had to build a multilingual portal. Soon I ran into character encoding problems. Gibberish would appear in place of special characters such as umlaut, accent circonflex, etc. Naturally,…
Waterfall model is sequential design process used in software development. lt has the following phases in sequential order: 1. Requirements / Analysis2. Design3. Coding4. Testing5. Maintenance Waterfall has rigid phases…
Suppose we have a data file containing two columns of tab-delimited integers as follows: 2 3 4 6 6 9 ... The following example fetches data from this file and…
There are many other reasons for wanting to convert a String to a List. For example, the length of the String needs to be defined. Such a restriction does not…
This post shows how to change file extensions using bash. To change file extensions, we simple need to loop through file in a directory and use the “mv” command to…
Suppose you have 2000 photos in a directory and you need to rename them. The files are named as: We need to rename them as follows: Here is how: j…
In the dynamic world of WordPress, customizing your website’s language is a fundamental aspect that caters to a diverse audience. This quick guide will walk you through the steps to…
The following steps show how to transpose data in Excel. Transposition refers to switching between rows and columns. See the three step process below: 1 – copy a dataset 2…