954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How do i store my product information in xml file using php?

Hello Friends...

Tell me how to store my product information in xml file using php ...
Is this is a replacement of my database...

Please tell me any information on this...

Thanks in Advance..
Shanti

Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
 

Hey Shanti,

This is the wrong forum to ask this in, I definitely recommend the PHP forum. However, there are some XML libraries for PHP available (I'm not sure which off the top of my head). If not, you can simply write raw XML files using the fopen() command.

You can probably get more information from the PHP board guys on file reading.

Is this a replacement of my database...

That will completely depend on what the information will be used for. I work in Game Development, and we use alot of XML purely for the readability of the game and level designers. We'd need to know more about the current databases usage, before provided a valuable answer.

Christopher Lord

heenix
Newbie Poster
15 posts since Sep 2008
Reputation Points: 10
Solved Threads: 1
 

thank you heenix...

Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You