Home » Archive

Articles Archive for October 2009

PHP, XML »

[23 Oct 2009 | 2 Comments | 2,917 views]

In this article, I will be showing you how to create and read xml document with php’s DOMDocument. The DOM extension allows you to operate on XML documents through the DOM API with PHP 5. Below is the code to create XML file. I have named the output file ‘example.xml’. For better understanding, I have [...]

Javascript, PHP »

[23 Oct 2009 | No Comment | 1,289 views]

I had to work on multi-dimensional array with javascript and php. I had a multi-dimensional array in php. I had to load it into javascript array and then populate the html selection list. The challenge for me was to create multi-dimensional array in javascript and populate selection list with for loop in javascript.

PHP, XML »

[23 Oct 2009 | 2 Comments | 5,894 views]

In this article, I will be showing you how to create and read xml document with php’s SimpleXML extension. The SimpleXML extension provides a very simple and easily usable toolset to convert XML to an object that can be processed with normal property selectors and array iterators.