Re: DB_DataObject: good quick example on using links.ini
| From: | Patrick Taylor | Date: | Mon, 05 Sep 2005 16:59:03 +0000 |
| Subject: | Re: DB_DataObject: good quick example on using links.ini | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20795@lists.php.net to get a copy of this message | ||
Thank you Florent!
very much appreciated.
----- Original Message -----
From: "thefloz" <thefloz2001@yahoo.fr>
To: <pear-general@lists.php.net>
Sent: Monday, September 05, 2005 7:44 AM
Subject: Re: [PEAR] DB_DataObject: good quick example on using links.ini
> Patrick Taylor a écrit :
> > good morning
> >
> > the documentation/instructions on using links.ini are scarce, can
someone
> > give me a link to some good tutorials, or create a quick one in an
email.
> >
> > Alan, if you read this email can you tell me a general rule for creating
links
> > within a links.ini file
> >
> > should it be like:
> >
> > [table name]
> >
> > foreign key = tablename.primarykey
> >
> > thank you
>
> Hi!
>
> the syntax is
>
> [table name]
> foreign key = tablename:primarykey (it's : and not .)
>
> and the name of the ini file is :
>
> name_of_the_database.links.ini
>
> Florent
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>