php - xml what is the best way to do this.


Posted on 16th Feb 2014 07:03 pm by admin

IN essence I want to have a script calling the info from the database.. I have no problem thus far, next I want to take said data and write it to an xml file. no problem here either. I think I have that figured time will tell. But here is the problem , I want to append the new entries to the top and delete any older entries after.

I sort of have this in mind

Get data php file
delete old xml file unlink
write new xml file fopen fwrite

I don't know if this is the most efficient way of doing this or not, so I thought I'd get some help here

No comments posted yet

Your Answer:

Login to answer
244 Like 49 Dislike
Previous forums Next forums
Other forums

Parse error: parse error in C:wampwwwlogspagesmembers.php on line 16
I dont see the problem with this, I always get Parse error: parse error in C:wampwwwlogspagesme

Bandwidth monitoring?
Hi guys,

I need a little information I have written a php app and I occurred to that I need

Merger of 6 sister companies under one flagship company after go live
Dear Experts,
I need one help regarding Merger of sister companies of same group. currently we

javascript in php code causes page to display white
Hi All,

Odd one this, I've got the following code (below) which is a simple log in form. The

NOOB needs help with upload file
The intent of this form is to create a folder for a client and upload an image into another folder '

mysql UPDATE request not working and driving me crazy!!!
Hi,

I have been stuck on this for ages.

Quite simply I am trying to update my database

The control with ID 'ace' requires a ScriptManager on the page
I'm trying to add a simple AlwaysVisibleControlExtender to my page, but it's not working. I get the

Warning: Cannot modify header information - headers already sent by (output sta
Warning: Cannot modify header information - headers already sent by (output started at /home/praylif

Interpret Order
Hello all,

I'm wondering if I have this:

Code: $switch = array(
'one' =>

Help with setcookie()
Merry Xmas to those on this foruum
Older guy here with some experience but not allot so please be

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash