XML/SPRY & MySQL...Need help please!

I don't really even know how to title this new message but I
know what I would like to do. I am designing a dynamic photo
gallery and would like use the Spry/AJAX framework to display my
photos on a php web page.
The photos would be uploaded to a MySQL database on the
backend thru an insert form. I understand that Spry Datasets have
to be associated to an XML file located on the server. I know how
to format the XML file manually however I do not know how to update
the XML file on the fly. I would like to be able to upload photos
to a remote folder on ther server using PHP/MySQL via an 'insert
new record' form or an 'update record' form. Once the new photos
have been uploaded (or Updated), how can I tell the MySQL database
to update the XML file that is associated with Spry table that
displays the photos on the frontend?

zuffster wrote:
> how can I tell the MySQL database to update the XML file
> that is associated with Spry table that displays the
photos on the frontend?
You don't. All that you need to do is to generate the XML
dynamically by
querying the database. The following page in the Spry samples
shows you
how to do it:
http://labs.adobe.com/technologies/spry/samples/utils/query2xml.html
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS4",
"PHP Solutions" & "PHP Object-Oriented Solutions"
http://foundationphp.com/

Similar Messages

Maybe you are looking for

  • Upload and Download ABAP Source Code

    This is a program that I have had kicking around for a couple of years in various incarnations. Source Code Listing Report: ZKBPROGS * Function : Up/Download ABAP reports complete with texts * - this program does not update TRDIR with the * TRDIR ent

  • Bottom and righ of frame cut off in IE but not in Chrome?

    Hello,  this is just happing on my computer and I do not know how to fix.  When I run one of my captvate projects in Internet explorere 9,10 or 11 the bottom and right side of the frame is cut off.  I have the shell set to 1024x768 and I also set it

  • Keep getting Error 999 when accessing My Yahoo!

    Last week I started getting the Error 999 when trying to access my homepage which is My Yahoo! Sometimes it seems to go away but comes back. I've cleared my cache with no luck. I upgraded to 7.0.1 of Firefox on my MAC (10.7) and I am not aware of any

  • Using data collected on a form and updating a database

    I have created a form using Lifecycle Designer ES 8.2 to allow users to populate with information and send it to a central control point.  I would like to take the information from the pdf form and then allow the user at the control point to update d

  • MAnaging Dreamweaver and fireworks

    Hi Folks I am having trouble managing my site. I created it in fireworks and have a placed a slice to receive my dynamic content using dreamweaver. However whne I republish any changes to the layout in fireworks I have to go in and handcraft the code