[Solved] How do you display information from an SQL file in PHP?


The only way to do that reliably is to either import the SQL file into a database and query the data or write (or find) a SQL parser for PHP. To be blunt, SQL files are not meant to be used for data access. They’re meant to store database contents into a portable file (e.g. for backup or import/export).

solved How do you display information from an SQL file in PHP?