PDA

View Full Version : send parameter to php class with AMFPHP


toony
12-07-2003, 06:18 PM
I'm building a chat i mx 2004 pro.

i'v done though this tutorial: http://www.sephiroth.it/tutorials/flashPHP/dataHolder/ , and used that script as a base for my chat.

i'v written i php class that communicates with a mysql database, but the function that retrieves the data from the database has some parameters. when i predefine the parameters in the php-script, it works just fine, but i dont know how to send the parameters from flash to php, so can anyone help me do that..??

toony
12-07-2003, 07:51 PM
i found out how to solve the problem.

NS.params = [arg1,arg2,...];
NS.trigger();