i installed the AMFPHP Project from adobes website and i’m kinda stuck right now… i can define a variable in the actions panel and trace it as well as loops and stuff, but i can’t execute any mysql. i have i feeling i’m seriously missing something, i just don’t know what.
here’s some code:
$dbconnect=mysql_connect($dbhost,$dbuser,$dbpass);
mysql_select_db(“awards”, $dbconnect);
$selectaward=mysql_query(“SELECT * FROM teacher”);
while ($r = mysql_fetch_array($selectaward)){
trace($r[‘award’]);
}
knowledge on the subject will be seriously helpful, greatly appreciated, and i’ll e-mail you a pizza.