Page 1 of 1

PHP XML

Posted: Tue Jul 31, 2007 3:29 pm
by csavvy
hi there,
I am working on a website that is content driven (i.e. articles submitted by the enduser on a regular basis for posting to the web). kind like a newspaper online.

What would following be the right approach to achieve seamless results?
Here's The thought I had: Could I use a .php file with a include statement to call a .xml flat file to display in the article (.php file).

The .xml flat file would have the article (text)

I am currently using dreamweaver MX as my editing tool. Thanks

Posted: Wed Aug 01, 2007 2:38 am
by Christopher
You could store the article data in a file such as XML; you could simply convert the article to HTML; or you could store the article in a database. The choice really depends on other factors. Could you give a little more information about your site.