MikeWire Posted August 9, 2006 Share Posted August 9, 2006 Hi everyone - I am working on a project where I need to take a var from MSSQL to PHP to import into Flash - I am having trouble with the var not passing from the PHP to the flash...I have posted the prob on FlashKit, but I have a hunch my PHP is not working like I need it to:[code]<?phpinclude 'functions.php';connect_DB(); //find_game_number_flash();//$max = $row['0'];//echo "$max";$find_sql = "SELECT MAX(game_number) FROM planet"; $game_number_search = mssql_query($find_sql) or die("Could not find MAX value"); $row = mssql_fetch_array($game_number_search); $max_game_number = $row['0']; echo "<br><br> // <tr> //<td>MAX game number is: $max_game_number now send it to flash<td> // <tr><br>"; echo "max_game_num = $max_game_number";//echos the var $max_game_number correctly... phpinfo(32);?>[/code]My phpinfo(32); shows no POST vars which is why I think it is not passing to Flash - has anybody got an idea on how to handle this and is my PHP doing what its supposed to? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.