close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

passing var of go to detail page more than once

Thread began 5/30/2010 2:11 pm by mustang_sally_85344510 | Last modified 6/09/2010 10:17 pm by mustang_sally_85344510 | 3264 views | 34 replies

CraigRBeta Tester

My first thought is why is the xml being created 'on the fly'.

i have created a few flash files which use xml as a data source, but in these instances, the xml file i want to use already exists.

if you have a large number of flash files, then this could be an issue, (see potentially neater solution below), but if you only have a few then why not have several xml files in place, the one you use is dependent on the detailid.

As Jason suggested, you could then use a php require statement to select the appropriate xml file, which, I think, will work so long as the xml file exists.

for example, say the detailid = 3 and you want to use the xml file menu3.xml

Something like...

<?php require_once("menu".$_GET['detailid'].".xml"); ?>

which when run would be

<?php require_once("menu3.xml"); ?>

Another (neater) idea I have, though untested for your solution, is to have your xml (unfiltered) data in menu.php bound to your details page as a spry dataset.
You can then filter this dataset depending upon the detailid in the URL parameter

This option certainly works with data, so in principle you should be able to set the parameters of your flash file with dataset data instead of recordset data.


good luck

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...