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 6967367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:18:43+00:00 2026-05-27T16:18:43+00:00

I have 3 Tables, 2 Tables from 1 Database and 1 Table from other

  • 0

I have 3 Tables, 2 Tables from 1 Database and 1 Table from other Database.

Database “GER”:
Tables:
1. account
fields:
– accountid
– accountname
2. accountbillads
fields:
– accountaddressid
– bill_city
– bill_street

Database “STG”:
Table:
1. edata
fields:
– deviceid
– lat
– long

Field “accountid” and “accountaddressid” have the same data.
Field “accountname” and “deviceid” have the same data.

How i may to create XML file with this structure in PHP ?

  <?xml version="1.0" encoding="utf-8"?>
<markers>
<marker accountid="13" accountname="alex" bill_city="london" bill_street="knighton 13" lat="23.456" long="13.456"/>
</markers>

any reference will help me. thanks

  • 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-05-27T16:18:44+00:00Added an answer on May 27, 2026 at 4:18 pm

    first of all your must have access to both databases.
    If you haven’t done already, take a look at the GRANT syntax in mysql manual.

    After setting correct permissions, you execute your normal queries, using db/tablenames.

    For example:
    SELECT ger.account.accountid FROM ger.account WHERE …

    Grant syntax: http://dev.mysql.com/doc/refman/5.1/en/grant.html

    Select syntax: http://dev.mysql.com/doc/refman/5.0/en/select.html

    After that, you use php to retrieve data as you want them from both databses to create your xml document

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that reads a table from a database. I issue an
I have SMO code which copies tables from one database to another. It runs
I have to copy a bunch of data from one database table into another.
Many applications have grids that display data from a database table one page at
I have a database table with a field that I need to read from
I have a DataGridView which is filling from Table in SQL Server Database. One
I have data from a table in a database (string) that contain text and
I'm binding a gridview dynamically from a table in my database I have called
In the database, I have a definition table that is read from the application
Whenever we have to update the database; we delete the values from the table

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.