I need help passing different variables to Flash.
I can list everything from the database, with each item having it's own id number
example:
Where member_id is, it changes (obviously), but when I click on a link, it automatically takes me to the first name listed in Flash.Code:<? $server = "localhost"; $user = ""; $pass = ""; $db = ""; $conn = mysql_connect($server,$user,$pass); $db = mysql_select_db($db); $sql="SELECT * FROM members ORDER BY name_l"; $result=mysql_query($sql,$conn); while ($row = mysql_fetch_array($result)) { $member_id = $row["member_id"]; $name_l = $row["name_l"]; $name_f = $row["name_f"]; echo ("<font face=verdana size=2><A HREF=\"profile.php?id=$member_id\"> $name_l, $name_f</font></A>"); echo " "; } ?>
I need flash to know to pull the information corresponding with the proper id number.
You can see what i mean here http://cheezyfries.net/test/test.php
The Flash file pulls the information from here
Can anybody help me?Code:<? $server = "localhost"; $user = ""; $pass = ""; $db = ""; $conn = mysql_connect($server,$user,$pass); $db = mysql_select_db($db); $sql="SELECT * FROM amember_members"; $result=mysql_query($sql,$conn); $row = mysql_fetch_array($result); $member_id = $row["member_id"]; $name_l = $row["name_l"]; $name_f = $row["name_f"]; echo "&name_f=$name_f&name_l=$name_l&member_id=$member_id" ?>





Bookmarks