aaron smith wrote:
You can also use commands in PHP to send data to the NetConnection debugger.


<?php

NetDebug::trace( "somedata" or some $var );

?>

you can use that anywhere in a service method and it will send it to the
netconnection debugger. just use those to debug it..

hope that helps..

smith




On 9/18/06, dnk <[EMAIL PROTECTED]> wrote:

Hi there.

I have a remoting app in which i use PHP/amfphp to get data into my app.

Now in my PHP I have the following SQL query performed to create a join
on 2 tables...

SELECT dkcms_photo.*, dkcms_profiles.uFname FROM dkcms_photo LEFT JOIN
dkcms_profiles ON dkcms_profiles.uId = dkcms_photo.phUsername ORDER BY
phMod DESC

Now when I test the query (by running at the mysql command line), all
the data is returned as expected.

I then test the php in the amfphp service browser and again - same thing
all data is returned as expected.

Now - in flash....

When I try to access the one column name returned by the join - I get
undefined. So I then used the "getColumnNames" function (and trace the
results) to see what is actually being listed in flash.... Well as
expected, none of the columns from the second table are actually making
it into flash.

Does anyone have any ideas?

d
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
I have tried both, but for some reason my debugger is messed up and will not work. I tried both methods.

Now as for your first post, regarding checking out how the return object is mapped - why would it be any different for a sql join than a regular sql query.

At any rate - it is in fact something that needs to be checked out. Later this eve, I plan on buying service capture - the trial had saved me a few times and wanted to buy it anyways.

d
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to