What I'm tring to do is pass the variables in my php doc to a flash/swf file.
At the moment flash is loading the php file but not displaying the text, I've use:
loadVariablesNum ("test_detail.php", 0, "GET");
What I don't know how to do is write the PHP code so Flash can understand it.
I'm not a PHP expert I use dreamweaver & Phakt. Can someone demostrate what my variable should look like in the php file.
This is my code for the page:
<?php
require("../../../adodb/adodb.inc.php");
require("../../../Connections/phpnews.php");
?>
<?php
$alphaNewsMMColParam = "1";
if (isset($HTTP_GET_VARS["ID"]))
{$alphaNewsMMColParam = $HTTP_GET_VARS["ID"];}
?>
<?php
$alphaNews=$phpnews->Execute("SELECT * FROM alphabeticus WHERE ID = " . ($alphaNewsMMColParam)
. "") or DIE($phpnews->ErrorMsg());
$alphaNews_numRows=0;
$alphaNewstotalRows=$alphaNews->RecordCount();
?>
<?php echo $alphaNews->Fields("storyTitle")?>
<?php echo $alphaNews->Fields("storyAuthor")?>
<?php echo $alphaNews->Fields("storyDate")?>
<?php echo $alphaNews->Fields("storyText")?>
<img src="<?php echo $alphaNews->Fields("storyImage")?>"
<?php
$alphaNews->Close();
?>