xml

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alain Dhaene

    #1

    xml

    Hi,

    I have data in a mysql database for ordering books.

    This data must be send in xml format to a company .

    First I had the intention to get every record from my dbase and write it in
    a file with xml tags.
    such as
    $content = "<ordernummer>5 </ordernummer>" .
    <customer>rob in hood</customer>



    But i think that's not the good way?

    Can somebody give my some advice?

    Alain






  • Tony Marston

    #2
    Re: xml

    Take a look at "Using PHP's DOM XML functions to create XML files from SQL
    data" which can be found at


    Hope this helps.

    Tony Marston
    This is Tony Marston's web site, containing personal information plus pages devoted to the Uniface 4GL development language, XML and XSL, PHP and MySQL, and a bit of COBOL


    "Alain Dhaene" <alain.dhaene@w orldonline.be> wrote in message
    news:bvm24l$da6 $1@news.worldon line.be...[color=blue]
    > Hi,
    >
    > I have data in a mysql database for ordering books.
    >
    > This data must be send in xml format to a company .
    >
    > First I had the intention to get every record from my dbase and write it[/color]
    in[color=blue]
    > a file with xml tags.
    > such as
    > $content = "<ordernummer>5 </ordernummer>" .
    > <customer>rob in hood</customer>
    >
    >
    >
    > But i think that's not the good way?
    >
    > Can somebody give my some advice?
    >
    > Alain
    >
    >
    >
    >
    >
    >[/color]


    Comment

    Working...