I will try to explain how it goes.

1. In Flex you define Remote Object wich point to php file on one side
and amf to another side.
2. In PHP you have to write down service / this service you can
validate through service browser, if you get database answer in
browser service then you problem is in communication between Flex and
PHP, and if there is no database answer check you php file ( most
likely database information like database name, table, username i
password ...)
3. If you see database answer then you probably have problem related
to how I call it mirroring. You have to create "php" and ".as" class
with same data for mapping data on client and server side.
4. My advice is to set checkpoint next to definition of resultHandler
function for RemotObject call, and start debuging. After you
application get answer from database it will triger that function
(resultHandler) and you will see what is result ( what server send it
to you).

After that you will figure out what is problem.

Greetings

On Dec 4, 7:21 pm, sankar swaroop <[email protected]> wrote:
> Hi,
>
> I created an application using Flex3,AMFPHP,PHP and MySql and i hosted the
> site, but i cannot get connected to the database through the amfphp. I am
> not getting any error messages or alert messages. I checked in the service
> browser and the path for gateway.php was correct. so what can be the
> problem. Please help me.
>
> Please reply me if more data is reqired.
>
> Thanks.

--

You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.


Reply via email to