-
Notifications
You must be signed in to change notification settings - Fork 1
fix: Create Additional README File #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # ezSQL Library | ||
|
|
||
| ## Overview | ||
| This directory contains the ezSQL library, a PHP class that simplifies database interactions. Created by Justin Vincent, ezSQL provides an abstraction layer to work seamlessly with databases such as MySQL, Oracle, PostgreSQL, SQLite, and MS-SQL. | ||
|
|
||
| ## Features | ||
| - Simplified database connection handling | ||
| - Supports multiple database types | ||
| - Query execution and result handling | ||
| - Debugging capabilities | ||
| - Data caching | ||
|
|
||
| ## Usage | ||
| Include the ezSQL library in your project by referencing it in your PHP files: | ||
| ```php | ||
| include_once 'ez_sql.php'; | ||
| ``` | ||
| Create a new database object for interactions: | ||
| ```php | ||
| $db = new db(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST); | ||
| ``` | ||
|
Comment on lines
+14
to
+21
|
||
| Execute queries using the provided methods, such as `get_results()`, `get_row()`, `get_var()`, and others. | ||
|
|
||
| ## Debugging | ||
| Enable debugging to track SQL queries and their results in your scripts: | ||
| ```php | ||
| $db->debug_all = true; | ||
| ``` | ||
| Control debug output with `vardump()` and `debug()` methods for customized handling. | ||
|
|
||
| ## Contribution | ||
| Please email Justin Vincent at [justin@visunet.ie](mailto:justin@visunet.ie) with feedback or for contributing to the project. Consider making a donation to support further development. | ||
|
|
||
| ## License | ||
| This library is licensed under LGPL. You are free to utilize and modify ezSQL as required for your projects. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The overview claims this ezSQL copy supports PostgreSQL and MS-SQL, but this repository’s
includes/ezsql/only contains modules formysql/,oracle8_9/, andsqlite/(no postgres/mssql drivers). Please update this sentence to list only the database modules that are actually shipped here to avoid misleading readers.