Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / February 2007



Tip: Looking for answers? Try searching our database.

function didn't return RecordSet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Simhanature - 28 Feb 2007 06:49 GMT
I am using amfphp and using AS2 class for remote calls.

I have categories and fetch it through loop and at same time I want t fetch
subcategory in another loop inside
the loop based on some id

The function doen't returns the RecordSet.

is there anyway to solve it.

returning doesn't looks working. and I'm just using _global variable get any
mysql_query.

Please any one help me.
tonyhigham - 28 Feb 2007 20:37 GMT
I ran into this same problem with AMFPHP, but it's not too hard to fix. Change
the argument for your result function to data, like so:

function gotResults(data):Void  etc etc

then, you can get at the mysql results like this:

data.result.mRecordsAvailable //total number of records returned
data.result.items //AS array containing your results
data.result.items[0].Name //for example, this would give you the value of the
field 'Name' for the first returned result

Hope that helps. Let me know if you ahve any more questions.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.