Bobo Wieland wrote:
I want my client to be able to update his site him self, and I want it to be as simple as possible for him. I think I will save the data as XML in a MySQL db (since I've allready made the parser for presenting the XML data...)

Use table field names as an xml tag. and display it as a XML format. eg. id, title, content in a table

<xml>
<id>1</id>
<title>PHP is great</title>
<content>I agree</content>
<published>02-07-2003</published>
</xml>


Now the problem is this; If my client wants to publish a new article on the site he will fill in a form. One textfield for the headline and a textarea for the text. But if he wants this article to have multiple (sub)headlines - how should this be implemented? He should preferbly not have to write xml or xhtml himself.

XML schema is going to be an answer.



Any ideas? How do you generally approch this kind of problem?




.b [EMAIL PROTECTED]


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to