Hello all,
I need some help with this script
<?php
include (‘connect.php’);
$cd = $_POST[‘cd’];
$edition = $_POST[‘edition’];
if ($cd == “some_cd”){
if ($edition == “normal”){
$price = 15;
} else if ($edition == “special”){
$price = 17;
}
} else if ($cd == “other_cd”){
// other options…
}
echo ("&price=$price&");
echo ("&connection=$host&");
?>
when I get the variables to load into a text object in flash, it only shows
>>> undefined connecting to: undefined <<<<
if I comment out the >> include << line it gives works fine,
can some one please take a look an tell me what I’m doing wrong?.. thank you very much.