Ahmed:
It's real perfect!
B/R
2005/7/14, Ahmed Saad <[EMAIL PROTECTED]>:
>
> hi babu
>
> On 7/13/05, babu <[EMAIL PROTECTED]> wrote:
> > i have a set of queries which i have placed them in one .sql file.i want
> to run this file using php's mssql and oracle(oci) functions.
>
> you need a database abstraction layer to help you with that (adodb for
> example)
>
> function fireSQL( $driver )
> {
>
> // establish the connection to the database using the specified driver
>
> // read SQL from the file (probably tokenizing it into sql statements)
>
> // feed the sql into the connection
>
> }
>
> -ahmed
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>