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

  • SEARCH
  • Home
  • 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 6654895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:26:48+00:00 2026-05-26T01:26:48+00:00

I am trying to get my website to request a product from a mysql

  • 0

I am trying to get my website to request a product from a mysql database, but I have a flash animation displaying the product. This animation is controled by an xml file.

Is there any way to incorporate a similar thing as a $_REQUEST in php in xml? Because otherwise i have to create 100+ xml for each product which will take time.

So some more technical details;

I have a product details page: http://www.yoursite.com/product/product.php

With a embedded flash:

<div style="width:300px; height:330px; padding:10px; margin:0px 585px 0px 10px;">
    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
        var flashvars = {};
        var params = {};
        params.scale = "noscale";
        params.salign = "tl";
        params.wmode = "transparent";
        var attributes = {};
        swfobject.embedSWF("ImageBeforeandAfterFX.swf", "DivImageBeforeandAfterFX", "290", "320", "9.0.0", false, flashvars, params, attributes);
    </script>
    <div id="DivImageBeforeandAfterFX">
        <a href="http://www.adobe.com/go/getflashplayer">
            <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
        </a>
    </div>

And a image settings xml file (images.xml)

<photos>
<photo image="images/product_0001.png" colorboxImage="images/u4.png" colorboxInfo="" colorboxClass="image" url="http://web link" target="_blank"><![CDATA[<head>Reign Supreme</head><body>Drag line across to see the ball's core</body>]]></photo>
<photo image="images/product_c_0001.png" colorboxImage="images/u5.png" colorboxInfo="" colorboxClass="image" url="http://web link" target="_blank"><![CDATA[<head></head><body></body>]]></photo>
</photos>

What i want to do is for the 0001 (which is the id) to change depending on the product id which will be given in the server request. i.e.www.yoursite.com/product/product.php?id=0001 etc.

  • 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-26T01:26:49+00:00Added an answer on May 26, 2026 at 1:26 am

    Since you are using PHP, you can generate XML dynamically in code, you don’t need to create separate static files. Read the ID from the request, use it to query the DB, grab the values you need, and format a response string accordingly.

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

Sidebar

Related Questions

I have been trying to days now to get this website completed ... however,
I am trying to get the data in the table at this website which
Right now I'm trying desperately to get @font-face to work in my website. This
I am trying to get form parameters from a GET request. The html code
I'm trying to get a rails website up and running from github, and I'm
I am trying to get the images in xml file from the imgur website.
I'm trying to get data from HTML table but when I'm connecting to the
I'm trying to launch a request for some data from an external website w/
I'm trying to get a website working on my test environment, but somehow it
I'm trying to get my website to upload video's and pictures. As I have

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.