hello...

i have multiple records in databse. i want to create .xml file automatically. if there is any data in xml file, automatically rewrite that file. how to do this. sugguest me please

thanks.

Recommended Answers

All 3 Replies

Well, there are a lot of ready-made scripts that can do that for you, but on the other hand, if you only need a simple xml, you could easily write it yourself. Just start with looking at how a simple xml file should look, create that, and use file_put_contents for example to write it to a file.

you can find lot of readymade scripts in google go for it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.