Re: PHP and Prolog
| From: | Edin Kadibašić | Date: | Sun, 21 Aug 2005 19:14:33 +0000 |
| Subject: | Re: PHP and Prolog | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221047@lists.php.net to get a copy of this message | ||
Fernando Garza wrote:
> Hi,
>
> I am creating a Shell in prolog language that interacts with a Visual Prolog
> database format in Win32, I would like to interact with this database with
> PHP, just like the interaction with MySQL database, can you give me some
> notion or the code that need to be executed to get this done? for example
> in:
>
> mysql_connect
>
> or
>
> mysql_create_db
>
> what code is executed behind this functions?
>
>
> I think the functions to make this done should be execute a program with
> some function, passes values and receive values from the shell
These are PHP functions implemented as wrappers around MySQL's C API.
There is no such extension for Prolog.
If your database has an ODBC driver then you can use odbc_* set of
functions.
Edin