PHP Flash database integration

Posted on 2007-10-04
Last Modified: 2013-12-13
Following is a PHP code. When hardcoded with folder and file name it works. See below:

i m facing a problem to pass the swf name which is database driven to flash pre loader.
as here in the above code
$FirstImageF = "1016/1016-001.swf"; is working but
$FirstImageF = $foldar_name1[0]."/".$planswfname1[1]; is not working
Question by:navtarainc
    LVL 4

    Accepted Solution

    Try this:

    $FirstImageF = "{$foldar_name1[0]}/{$planswfname1[1]}"; //also please check that your variable names are correct
    LVL 49

    Assisted Solution

    Shouldn't the .swf be added, or is it already in $planswfname1[1]?

    What does a print_r($FirstImageF) provide you with?

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
    Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
    The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
    The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now