create CMS through xml/php

Discussion in 'PHP' started by amarbhanu, Nov 20, 2009.

  1. #1
    created xml file and also displayed but problem is that with display default ascending order but i want to set a descending order because her no use any database like mysql/sql so Please help me..
     
    amarbhanu, Nov 20, 2009 IP
  2. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #2
    well are you using XML Parser, simplexml or a custom xml parser? The basic idea would be to count the # of items being displayed and use a For loop which counts down.


    output:
    gamma beta alpha
     
    shallowink, Nov 20, 2009 IP
  3. cignusweb

    cignusweb Peon

    Messages:
    147
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    store all date in array and Play what ever you want
     
    cignusweb, Nov 20, 2009 IP
  4. AusnetIT

    AusnetIT Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    HI,

    How do i import data to mysql from that xml file? steps pls

    I got a xml file from one of the reseller and i want to show some products in x-cart ?

    Thanks,
     
    AusnetIT, Nov 21, 2009 IP