Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PHP-MySQLi-Database-Class
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
PHP-MySQLi-Database-Class
Commits
0f3c14d1
Commit
0f3c14d1
authored
Nov 04, 2010
by
Josh Campbell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readme and remove changelog
parent
b49872e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
13 deletions
+2
-13
changelog.md
changelog.md
+0
-12
readme.md
readme.md
+2
-1
No files found.
changelog.md
deleted
100644 → 0
View file @
b49872e1
<h3>
Change Log
</h3>
<p>
Branch off master
</p>
<ul>
<li>
Changed package name to MySqliDb. This is a MySQLi wrapper.
</li>
<li>
Added support for multiple dynamicly bound where conditions.
</li>
<li>
Added state resetting after each query exicution to allow multiple calls to the same connection instance.
</li>
<li>
Added the ability to staticly retreive the current instance.
</li>
<li>
Added numRows support to the query method.
</li>
<li>
The triggered error in _prepareQuery() now also displays the SQL statment and the mysqli error message.
</li>
</ul>
\ No newline at end of file
readme.md
View file @
0f3c14d1
...
...
@@ -102,7 +102,8 @@ $results = $db->get('tableName');
print_r($results); // contains array of returned rows
Optionaly you can use method chaining to call where multiple times without calling referancing your object over an over:
$results = $db->where('id', 1)
$results = $db
->where('id', 1)
->where('title', 'MyTitle')
->get('tableName');
print_r($results); // contains array of returned rows
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment