# Php remoting

**URL:** <https://forum.kirupa.com/t/php-remoting/203089>\
**Category:** Uncategorized\
**Created:** [October 7, 2006, 11:45am UTC](https://forum.kirupa.com/t/php-remoting/203089 "2006-10-07T11:45:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mak\_Valley](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Mak\_Valley](https://forum.kirupa.com/u/Mak_Valley)\
**Post date:** [October 7, 2006, 11:45am UTC](https://forum.kirupa.com/t/php-remoting/203089/1 "2006-10-07T11:45:09Z")

</div>

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.
