Loadvars help


I have a php file which links to my database and pulls the text required out of there.
is there any problems in my code?? or easier ways? i have used both GET and POST method and still same error
i’m getting the error “onLoad=%5Btype%20Function%5D” in my dynamic text field…any ideas why??

here is my code:

questions = new LoadVars;
questions.loadVariablesNum(“questions.php”, 0, “GET”);
questions.onLoad = function(){
_root.questions_txt = questions.questions_txt;

cheers in advance :slight_smile: