Jump to content

Help with SimpleXML


corillo181

Recommended Posts

Hey guys,

I am new to messing around with xml and I want to know if this is possible.

I am working on a website where they do not have access to any database and they are not willing to move to another server.

 

What I want to know is how can I use xml to set up a news database..

Well I know how to use xml for that what I want to do is

 

how can I use IDs or Dates to get information as I would on a database?

 

Link to comment
https://forums.phpfreaks.com/topic/180453-help-with-simplexml/
Share on other sites

Yeah but lets say I am adding additional articles..

 

<news>
   <article>
      <date>...</date>
      <story></story>
      <headline></headline>
  </article>

   <article>
      <date>...</date>
      <story></story>
      <headline></headline>
  </article>
</news>

 

lets say I will keep adding more articles how do I get the latest ones.

 

 

Link to comment
https://forums.phpfreaks.com/topic/180453-help-with-simplexml/#findComment-952009
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.