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

Give me all your tricks for minimizing jar file size

Hi, I'm coming close to releasing my J2ME game... I am kicking up against the 64k size barrier w

Production of mango in processing industry
Hi,

We have one scenario ,company is in process industry,they are manufacturing MANGO pul

php web service error
hey guys,
I'm working on a project requires the use of web services. I've been trying a few tutor

How do I get the row number from from an sql table query
Hi all

I have a table that I query and it returns a number of rows.
mysql_num_rows($query)

Sending a hyperlink through mail
HI all,
I am sending a mail to outlook mailbox of a user using FM SO_NEW_DOCUMENT_ATT_S

Storing the referrer in session... problems with tabs
Hello All

I am currently working on an ERP project based on the MVC methodology, when a user

multiple recipients + dbuser mail recall
Hello,

I am building a php login script.

When the user registers the script will send

Problem executing bash script using shell_exec
Hi there,
I created a bash script file using following code to convert doc documents to pdf using

does anyone know a php script to send mail using gmails/googles free smtp server
cause i heard u can do that but i dont know how

Need understanding of this bit of code
Code: <?php
// WHERE clause filters
$arrSQLFilters = array();

//

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