Hello,

            I am having problem generating the correct syntax to connect to
an RBase database using Oterro via PHP.  

 

If someone out there has created a PHP connection and can give me an example
of a few of the basic command syntax I am sure I can get the hang of it and
figure out the rest (I hope! :-) ).

 

Basic commands would be:  connect, select, insert, update, delete.

Below is an example of what I am doing that does not work!

 

I created a ODBC dsn name: MD21 using the Oterro driver.

The PHP syntax is:

      Int odbc_connect (string dsn, string user, string user, string
password)

 

I tried:

$connRB = int odbc_connect ("md21","","")   

$connRB = odbc_connect ("md21","","")

I also tried changing the double quote to single quotes and none of them
work.

 

The Otterro 4.0 manual has a more generic syntax:

 

RETCODE = SQLConnect(hdbc, szDSN, cbDSN, szUID, cbUID, szAuthStr, cbAuthStr)

 

I have no idea how can this be practically used.

 

Any help is most appreciated.  Thank you

Manuel de Aguiar

M|D Enterprises

Reply via email to