 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
Jesdisciple
Joined: 24 Mar 2008 Posts: 11 Location: Texas
|
Posted: Mon Mar 24, 2008 9:22 pm Post subject: MDB2: What is 'dbsyntax'? |
|
|
I understand every part of the DSN except the 'dbsyntax'... When would this be different from the 'phptype'? Thanks!
EDIT: Just noticed one other part I don't understand: the GET data. Why is "option=8&another=true" included? |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1053
|
Posted: Mon Mar 24, 2008 11:31 pm Post subject: Re: MDB2: What is 'dbsyntax'? |
|
|
| Jesdisciple wrote: | | I understand every part of the DSN except the 'dbsyntax'... When would this be different from the 'phptype'? |
I only know one example: Firebird and Interbase; Firebird was derived from Interbase. 'phptype' is in both cases 'ibase', while 'dbsyntax' can be switched to 'firebird'.
| Jesdisciple wrote: | | EDIT: Just noticed one other part I don't understand: the GET data. Why is "option=8&another=true" included? |
It allows you to specify some options, e.g. the charset.
Examples for these both parts of the DSN syntax can be found here:
http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php |
|
| Back to top |
|
 |
Jesdisciple
Joined: 24 Mar 2008 Posts: 11 Location: Texas
|
Posted: Tue Mar 25, 2008 2:05 am Post subject: |
|
|
| What keys and values are expected in the query string? |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1053
|
Posted: Tue Mar 25, 2008 8:27 am Post subject: |
|
|
| Jesdisciple wrote: | | What keys and values are expected in the query string? |
See Table 37-1 on the mentioned manual page, but the options are very driver specific. You'll have to look into the source files (MDB2/Driver/[DBMS].php) for a complete list. |
|
| Back to top |
|
 |
Jesdisciple
Joined: 24 Mar 2008 Posts: 11 Location: Texas
|
Posted: Tue Mar 25, 2008 8:30 am Post subject: |
|
|
| Oh, woops. I should have seen that. Thanks! |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|