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

Why does my crawler script suddenly end with no error?
Hi.

I have written a web crawler script. It will visit a large number of URL's with cURL.

WM transfer order: confirm different batch than proposed by system
Hi folks,

following scenario: we have a full WM with mixed batch numbers allowed in stora

Multipe Dynamic Controls & AutoPostback Issue
I currently have a need to create many dynamic controls (Example Textboxes) that need to do a PostBa

TemplatePower & AJAX
Hi all,



I'm currently implementing some AJAX features in my PHP-framework (which is b

Basic Forum Tutorial
Hi, I'm new to PHP. I want to build a basic forum for my site using PHP and MySQL. I've searched t

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

Socket problem
Hello,

Earlier I posted about my problem with my socket script. It took up to 100% CPU usage.

Retrieving innerHTML with cURL?
Hey all (sorry I know I'm a leecher, but I soon won't be. This is my first PHP project, but not my l

MSSQL/PHP
I am tryint to setup a webapplication developed in PHP, Apache2.0 and SQLServer2000 as backend which

All possible combinations of Strings from table in PL/SQL
Hi,

I am trying to figure out how to build a list of all possible string combinations fro

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