At 08:55 PM 1/26/2010, Manuel de Aguiar  wrote:

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! J ).


Manuel,

You mean "Oterro 4.0 and PHP" and not the "Ottero 4.0 and PHP". Correct?

Here is a very simple example that connects the R:BASE sample database
(BluzVan), defined as "BluzVan40" System DSN, using Oterro 4.0. The PHP
script written by Rafee Memon.

$dbcnx = @odbc_connect("BluzVan40","","");
if (!$dbcnx) die("Connection to database failed.");

A live demo of this PHP script is available at:

http://www.rbase.com/BluzVan_Oterro40/

http://www.rbase.com/BluzVan_Oterro80/

Send me a private e-mail, if you need these cool scripts for your
internal use.

Very Best R:egards,

Razzak.

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================


Reply via email to