A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Putting PHP into Flash?

  1. #1

    Putting PHP into Flash?

    I have this code in PHP:


    Code:
    <?php
    
    include("connect.php");
    
        mysql_connect($db_host,$db_user,$db_password) or die(mysql_error());
        mysql_select_db($db_name) or die(mysql_error());
        $query = "SELECT message, author, header, date, ip 
    FROM tempernews order by id DESC LIMIT 225";
        $result = mysql_query($query);
    
        while($r=mysql_fetch_array($result))    
        { 
    
            echo "<B>$r[header]</B> - ($r[date])<BR>$r[message]<BR>";        
        }
    ?>


    How do I bring the same results this gives into flash?
    (view results here )

  2. #2
    Registered User
    Join Date
    May 2002
    Posts
    171
    Hi there,
    This will get you on the right track.

    Cheers,
    Suzy

  3. #3
    Thanks Suzy.. this is for a user login system, do you think this is relevant to what I'm trying to do? I've been here a few times and saw no relevance, any chance you could tell me what I'm looking for in here?

  4. #4
    Registered User
    Join Date
    May 2002
    Posts
    171
    Hi there,
    It certainly is relevent...it may be a little more involved but it does address your issue of passing a PHP variable(s) into Flash...you just need to look a little harder
    You will also find dozens of posts here at Flashkit dealing with this very issue.

    Cheers,
    Suzy

  5. #5
    Great, thank you.. I'll look into it!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center