I have an arcade... and I call the game names from the db, I want to be able to take a game name, if I click on a button/link and inject it into my html flash player. thanks
PHP Code:
mysql_selectdb("jaarcade_games",$con);
$result = mysql_query("SELECT * FROM games") or die("Query failed with error: ".mysql_error());
Since $row will contain relevant information from your database, you can echo() out the code to insert the flash player, and include the information from $row within that.
Since $row will contain relevant information from your database, you can echo() out the code to insert the flash player, and include the information from $row within that.
Right but that would be for a specific game right?
I want a user to be able to click on any of my games, and the name inject into the flash player, through GET/POST???
I don't know, you haven't been very specific. Maybe with more information, we could be more helpful.
Ok, so I have called 5 game names from a database and I want to be in any way possible to inject say "blabla.swf" into my flash player in another file or on the same page, when they click on one of the submit buttons for each game, i want the name of that game to go into my flash player.