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

PHP mail() rejected by SMTP
I'm currently working on a newsletter application which is installed on a windows 2003 server runnin

Page doesn't expand for content
Hi. I've been testing a query I made. It's here http://lapr1.6te.net/inquerito.php
The page doesn

Delete records not in top 15
Hi,

I'm creating a hall of fame page in my game and the page will only display the top 15 sco

Why is the logic of this simple code not working?
Hey, I'm trying to determine if a table already exists in mysql, but doing a query first with mysql_

Variable passed to each() is not an array or object
Hi,

This is a email a friend type of form, and it isn't working anymore.

<?

Comparing two dates
Hi Guys
I have two dates I want to compare. Below is my current implementation. The problem with

MySQL query problem
When I try to run the following piece of code, I get this error:
QuoteWarning: mysql_query(): sup

Oracle Connectivity
Hi Every One,

Can we access SAP from oracle database.If it possible then please spec

array help
Does anyone know how to require 10 text fields for individual grades and output class average? (10 p

More pug propaganda.
http://www.youtube.com/watch?v=8Kkrmubsgf8

The commercial is definitely worth watching pug aw

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