You are here: Re: counting tables « PHP SQL « IT news, forums, messages
Re: counting tables

Posted by Tom on 05/15/07 17:17

<laredotornado@zipmail.com> wrote in message
news:1179179200.148304.182970@p77g2000hsh.googlegroups.com...
> Hi,
>
> I'm using PHP 4.4.4 with MySQL 5.0. Given my db connection info, how
> would I figure out how many tables were in the selected db?
>
> Thanks, - Dave
>

With MySQL I think you can run a query like "show tables;" and should be
able to get a count from those results.

Tom
--
Newsguy.com - Express Accounts - 30 GB $9.95 / month

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация