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

Did you know?Explore Trending and Topic pages for more stories like this.
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

ALV grid with 2 headers
Hi Gurus,

I need to display ALV GRID as below.

Header1

Change Age automatically
hi guys . im new to php , is it possible to change age value in mysql automatically when year change

Random date selection
i want to select random date with time(hour+minutes+sec) where date is specified(10/22/2009) and tim

Unifying logins of two different scripts
I have two different game scripts which I want to embed on my own site. The problem is I don't want

form help
this doesn't work. i want the form action to go the location.href of the submit button chosen.. how

Loosing changed contents when used FM REUSE_ALV_GRID_DISPLAY
Hi,

I have used FM REUSE_ALV_GRID_DISPLAY in my program as below.

CALL FUNCT

Giving the below syntax error
Dear Experts,

I have used 2 buttons in gui status as display and cjhange.When the user wi

Problem in String replace program's output
Hi all,
I was trying to make a program which accepts a string and replaces it with another stri

help retrieiving results and doing pagination
Having some trouble trying to get the results to show on more than just one page.

What is ha

Not "Just Another" MMORPG - text based.
Hello,

I've been learning MySQL and PHP for the last 2-3 years.
Though, I've had long paus

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