Re: [Phplib-users] Test whether db table exists using DB_SQL
Brought to you by:
nhruby,
richardarcher
From: Peter B. <re...@f2...> - 2001-08-16 07:34:13
|
At 07:12 AM 8/16/01 +1000, you wrote: >You'll get back a result set like: > >mysql> show tables; >+-----------------------+ >| Tables_in_j0_phplib | >+-----------------------+ >| active_sessions | >| active_sessions_split | >| auth_user | >| auth_user_md5 | >| db_sequence | >+-----------------------+ >5 rows in set (0.00 sec) > > >Just loop through the results looking for your table. I thought that this SQL was specific to MySQL :-( *** Note to list admin: can we please set the reply-to header to point back to the list? Thanks! *** Thanks, Peter. > --oOo-- Narrow Gauge on the web - photos, directory and forums! http://www.narrow-gauge.co.uk --oOo-- Peter's web page - Scottish narrow gauge in 009 http://members.aol.com/reywob/ --oOo-- |