Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8021947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:07:47+00:00 2026-06-04T22:07:47+00:00

I have an empty Delphi ClientDataSet CDS File setup with all the Columns/Headers/Datatypes that

  • 0

I have an empty Delphi ClientDataSet CDS File setup with all the Columns/Headers/Datatypes that I need. I want to use PHP to append an associative array into CDS rows. Is this possible?

The array could simply be:

{
    1: {Name:Captain, Phone:18001234567}
    2: {Name:Jack, Phone:18009876543}
    3: {Name:Sparrow, Phone:18887892345}
}

I’ve selected PHP because I’m proficient with the language and my web server is a shared-linux host. Basically I cannot run Delphi here. I’m open to other options that could work in this environment. Thanks!

EDIT:

See the comments on this post for my resolution.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T22:07:49+00:00Added an answer on June 4, 2026 at 10:07 pm

    I recommend you to not write direct to the cds files.

    Instead you can use a common xml for both applications (PHP and Delphi) and on the delphi side you load and save it using XML Transformation with TXmlTransformProvider and on the PHP side you just write it to the XML as you always do.

    Take a look here on how to setup on delphi.

    –UPDATE

    If you realy need to change direct the cds file (using xml format) you can just add a new to the cds file considering the cds format is xml like this:

    <?xml version="1.0" standalone="yes"?>  
    <DATAPACKET Version="2.0">
        <METADATA>
            <FIELDS>
                <FIELD attrname="Name" fieldtype="string" WIDTH="24"/>
                <FIELD attrname="Capital" fieldtype="string" WIDTH="24"/>            
            </FIELDS>
            <PARAMS DEFAULT_ORDER="1" PRIMARY_KEY="1" LCID="2057"/>
        </METADATA>
        <ROWDATA>
            <ROW Name="Argentina" Capital="Buenos Aires"/>
            <ROW Name="Bolivia" Capital="La Paz"/>
            <ROW Name="Brazil" Capital="Brasilia"/>
            <ROW Name="Canada" Capital="Ottawa"/>        
            <ROW Name="United States of America" Capital="Washington"/> 
            //Add your new ROW tag here with your data       
        </ROWDATA>
    </DATAPACKET>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I have an empty XML file like so: <root></root> And I want
Hey all, basically i have an empty AS3 fla file with just the following
I use DOMxpath to remove html tags that have empty text node but to
I am generating an Excel file through MATLAB and I have empty cells in
I have an empty JTable, absolutely nothing in it. I need to dynamically generate
I have an empty LinearLayout , and I need to add a dynamic number
If I have an empty tag: <tag/> How can I add text so that
I have a Delphi application with a Indy TCPServer and TCPClient. I use the
I've got a set of database results where some of the columns have empty
If I read a file the have empty spaces between paragraphs, how do I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.