Hi,

The contents of database.php will appear in the gadget when you are
using the content type url method.

So just query the database and print out results within database.php.

Hope this helps

Mike
www.learnitlists.com

On Feb 15, 10:08 am, come2know <[EMAIL PROTECTED]> wrote:
> Hi all!
>
> I want to connect my gadget with MYSQL database using PHP,  both are
> on the same server.
> I write database.php file having my server and database details.
> and used it as follows:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Module>
> <ModulePrefs title="connect to database" />
> <Content type="url" href="http://XYZ/database.php"/>
> </Module>
>
> How can I access my database in gadget?
>
> do reply...
>
> Thanks,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to