mweb wrote:

> >mweb,
> >         To make sure I understand you correctly, you want to create
> >and
> >test your PHP/MySQL database on your Linux/Apache box, then upload it
> >to
> >your ISP server that is running PHP/Access? I'm sorry but that's not
> >going
> >to work. You can't transparently switch a PHP application from MySQL
> >to
> >Access.
>
> Yes, you did understand me correctly.
>
> What I understand ( and could certainly be wrong) is that there are in
> PHP layers of abstraction/wrappers/APIs or whatever you call them,
> that allow you to do just that, i.e. to write code that is obviously
> not as efficient as one written specifically for one single database,
> but does work on more of them.
>
> As a matter of fact, after posting the first message, I bought the
> book PHP developers cookbook which has section 16.0 named more or less
> How to create a DB independent API with PHP, and that says "at the
> beginning of the script is included a file containing all the wrapper
> function....."

<shameless plug>
http://evilbill.org/php/DBI.php3
I don't have an ODBC module for use under NT/Access but I would love a
contribution.
</shameless plug>



> That's exactly what I was hoping to do. THe site has ~4000
> accesses/month, and just some hundred records in the DB, so performance
> is not really an issue here, is it?

IMHO, no.

b.
mysql



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to