I am no php expert but I thought PHP can make its own API calls to SQL or use ODBC but 
I didn't think it had to do with Sambars ODBC. I think you have a few options. Someone 
correct me if I am out of line here.

sambar scripting -> sambar dbconfig.ini -> odbc -> database(file or sql)

php - > odbc -> database(file or sql)

php - > direct API to mysql library. (ie; libmysql.so)

Danny


On 22/Jan/2004 13:30:10, Leif Gregory  wrote:
> Hello all,
> 
> I feel like I'm really close to solving this one, but I just can't see
> the forest for the trees.
> 
> - I have Sambar installed and working fine.
> - I have PHP installed and working fine.
> - I have MySQL installed and working fine.
> 
> I can hit PHP pages that don't have anything to do with MySQL on my
> site (phpinfo() for example) and it works great.
> 
> I can hit the MySQL databases using .STM pages just fine.
> 
> However, I can't seem to hit any MySQL databases outside of .STM
> pages.
> 
> For instance, let's say my DBCACHE is called goober, and in my .STM
> pages it is RCQgoober sql="SELECT * from sometable">. This works
> great.
> 
> However, using that same DBCACHE name in PHP gets me nowhere fast.
> i.e. I get the error "Unknown database 'goober'".
> 
> In case someone wants an easy way to try it out, download the GO
> Redirector from:
> 
> http://www.studentplatinum.com/scripts/documentation.php 
> 
> It's a relatively easy one to set up and configure a DB for. If you
> get it working, I'd love to hear how.
> 
> Thanks.
> 
> 
> 
> Tagline of the day:
> Avoid temptation ... Unless you can't resist!!
> 
> -- 
> Cheers,
> Leif Gregory 
> 
> TB Lists Moderator (and fellow registered end-user)
> PCWize Editor  /  ICQ 216395  /  PGP Key ID 0x7CD4926F
> Web Site <http://www.PCWize.com>
> 
> -------------------------------------------------------
> To unsubscribe please go to http://www.sambar.ch/list/
> 
> 
> 
> 
> 
> 
> 






-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



Reply via email to