Ok, I'm using PHP 4.0.2 and PostgreSQL 7.0.2. Is there some way (PHP function, SQL statement or otherwise) that I can use to find out the number of tables in a database?
Thanks in advance, Mike
Not sure in PostgreSQL, but in MySQL you can just give a "show tables" command through mysql_query() and then count the number of rows. Maybe there is something similar in PostgreSQL?
---John Holmes...
See:
http://www.phpbuilder.com/forum/read.php3?num=2&id=112287&thread=112286
Yeah, they shoulda' asked the question in the database forum, but what can you do? :-)