About 403,000 results
Open links in new tab
  1. How can I use a database schema in PHP? - Stack Overflow

    Jan 24, 2014 · I wanted to be able to change the DB schema afterwards, if needed, so everything went into variables (stuff like table and column names). I used two approaches during development: db_schema.php: main.php: global $table; global $column; global $db; $db->query("SELECT `$column_name` FROM `$table_name`;"); db_schema.php: main.php: …

  2. php - Get database schema with one query? - Stack Overflow

    Mar 28, 2015 · a) a portable way to query your database schema... AND ... b) more granular control over your query, then look at INFORMATION_SCHEMA: http://dev.mysql.com/doc/refman/5.0/en/information-schema.html. SYNTAX: SELECT table_name FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = 'db_name' [AND table_name LIKE 'wild']

  3. Manual :: creating the base Classes and Database schema - PHP

    Auto Building and Database Schema – creating the base Classes and Database schema What the Auto Builder ( createTables.php ) does One of the essential features of an SQL building tool is to to have some understanding of the database structure, So that Integers can be checked, and strings can be escaped.

  4. Create a Database Management System in 15 Lines of Code

    We will learn how to build a fully functional, single-page database content administration system using phpGrid and other PHP components with a minimum amount of code. The application will perform common data operations such as Create, Read, Update, Delete, otherwise known as CRUD on MySQL database tables.

  5. PHP database schema templates - DrawSQL

    Start documenting your database. Create a 🔥 database diagram for your app in less than 15 minutes. Work together to design, model and document the database schema of your app. Collection of entity relationship diagrams for PHP apps.

  6. Database schema diagram templates | ChartDB

    Discover a collection of real-world database schema diagrams, featuring example applications and popular open-source projects.

  7. Best Practices for PHP Database Schema Design - inspector.dev

    Mar 3, 2025 · Picking the right data types for your PHP database schema is critical for both storage efficiency and query performance. Let’s break down some common MySQL data types and explore how to choose the best ones for your application.

  8. Database schema templates - DrawSQL

    Collection of real world database schemas from open-source packages and real-world apps that you can use as inspiration when architecting your app. Start documenting your database. Create a 🔥 database diagram for your app in less than 15 minutes. Work together to design, model and document the database schema of your app.

  9. Access a specific schema in a PostgreSQL database via PHP

    Apr 19, 2013 · Qualify the table with the schema name. SET search_path TO myschema, myschemab; https://www.postgresql.org/docs/9.4/static/ddl-schemas.html. Schema-qualify the table name as Clodoaldo already advised. Or set the search_path for a permanent effect. It works much like a search path in the file system. How permanent depends on how you set it. See:

  10. 4 Database Schema Examples for Various Applications

    Nov 26, 2024 · To implement this framework effectively, you can use several schema designs based on data structures and query patterns. Some common examples of database schema designs include: A flat schema is a simple, two-dimensional array where data is …

  11. Some results have been removed
Refresh