I can't get any of the methods in the documentation to work for me:http://ghostwire.com/go/518
The below is the only method I have found that works for me
$rs = array();
while ($row = mysql_fetch_array($this->_result, MYSQL_NUM))
Flash responder is the same as in the documentation for mysql_fetch_object:
myFoo.getRecords_onResult = function(result)
var j = result.length;
for (var i=0; i<j; i++)
// displays records in the output panel
for (var a in result[i])
Any ideas why this is the only way that works in my code?
(I think I can use the for in loop only to parse the data this way, but haven't tested it yet).
Also, how can I format the data in actionscript with a new line for each result? I am new to flash, but managed to get most of it working, although it's probably not the best code..