How to read .xml file using PHP?

Yes, it is possible by using “simplexml_load_file()” function.

In this tutorial we read “all_products.xml” using index.php file.

Step-1: Create “all_products.xml” by copy and paste this code

 


1
<frame_style>Full Rimmed
../images/products/glasses/unisex/main_thumbnail/1.jpg
150 Black

2
<frame_style>Full Rimmed
../images/products/glasses/unisex/main_thumbnail/3.jpg
120 Black

 

Advertisements

How to connect mysql database using php?

In this article I show you how to php connect with database and access data from it. Before this you know about how to run php files on local computer. If you don’t please read my recent tutorial How to execute PHP files on LOCALHOST using WAMP, MAMP or XAMPP?”

Continue reading “How to connect mysql database using php?”

How to use PHP for Developing Dynamic Website?

[ NOTE: This article just show concept of how to use php for developing dynamic Websites.]

 [ NOTE: If you want to know how php execute practically, Please visit our PRACTICLE tutorial “How to execute PHP files on LOCALHOST using WAMP, MAMP or XAMPP?”  It shows you how to execute php files on LOCAL computer. It also show which software’s and tools used for doing it. ]

Continue reading “How to use PHP for Developing Dynamic Website?”

How to execute PHP files on LOCALHOST using WAMP, MAMP or XAMPP?

In this tutorial I will show you how to Execute PHP files using WAMP.

Note: Execution procedure of PHP files on WAMP, MAMP and XAMPP are similler.

Continue reading “How to execute PHP files on LOCALHOST using WAMP, MAMP or XAMPP?”

Which is the best CMS WordPress vs Joomla vs Drupal?

Which is the best CMS for web development?

It’s very common question for beginners? Everybody want best CMS for web development. There are various options are available in CMS. But Mostly used CMS are WordPress, Joomla and Drupal.

As a beginner, It’s very difficult to decide which one is best for us. This infographic show you major differences of wordpress vs joomla vs drupal.

After watching this infographic, You can decide which CMS is better for your website development.

Continue reading “Which is the best CMS WordPress vs Joomla vs Drupal?”

Website Development guide

NOTE: ( Now just understand overall web development process. This article show overall process of web development. Details of particular subject we will discuss letter. )

[ I know it is very BASIC tutorial. If you are developer then please avoid it. ]

  Continue reading “Website Development guide”