php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "information_schema"

What is the correct way to check if a table exists in a database using PHP?

To check if a table exists in a database using PHP, you can query the information_schema database to see if the table name exists in the tables list....

What are the recommended resources or functions to use when counting tables in a database with PHP?

When counting tables in a database with PHP, you can use the "SHOW TABLES" query to retrieve a list of tables and then count the number of rows return...

How can PHP be used to dynamically create a table structure based on an existing table in Strato DB?

To dynamically create a table structure based on an existing table in Strato DB using PHP, you can retrieve the structure of the existing table using...

How can one filter and display only specific tables from a database in PHP using MySQLi?

To filter and display only specific tables from a database in PHP using MySQLi, you can query the information_schema database to retrieve a list of ta...

How can PDO be utilized to drop tables in a database and prevent them from being recreated in an endless loop?

To drop tables in a database using PDO and prevent them from being recreated in an endless loop, you can check if the table exists before attempting t...

Showing 26 to 30 of 33 results

‹ 1 2 3 4 5 6 7 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.