5 useful PHP functions for MySQL data fetching
PHP usually comes with mysql extension mysql (mysql_... functions) which is rather low-level and requires writing too much code for a trivial tasks: error-checked execution of SQL queries, getting single row from SQL table, getting value from SQL table cell, etc. OOP mysqli extension isn't any better. In this article we present 5 useful functions which greatly simplify majority of real-life MySQL operations.
- Visit Site:
- 5 useful PHP functions for MySQL data fetching
- Filed in:
-
PHP / Tutorials & Tips / Database-Related
- Date Added:
- Mar 30, 2007
- Last Updated:
- Mar 30, 2007
License and Pricing Information
Other
No restrictions (open source: copy, modify, redistribute, commercial use allowed) except re-publishing code in other articles.
Price: $0.00 USD
| Publisher site visits: | 2,045 |
|---|---|
| Average rating: | 4.33 |
| Total ratings: | 3 |
Publisher Info
- Author:
- AnyExample
Other listings by this publisher
- Simple and secure mail function based on php mail()
- Display MySQL table as HTML example
- Playing WAV files using Java
- Rails and SQL queries
- Converting RGB values from/to HTML hex representation.
- AJAX get page title example
- PHP Cookie example and function-helper
- How to load file into memory using plain ANSI C language
- MySQL (BLOB field) Image Gallery Example
- PHP AJAX example: asynchronous file upload
- PHP password generation
- Java full screen image viewer
- AJAX web-counter for widgets
- IE7 compatible prompt() alternative
- PHP multiple photo thumbnail generator
- C++ dynamic array template class
- Making XML/XSLT driven site using PHP
- Bar chart HTML generator
- Uploading files to Amazon S3 with REST API
- Redirect function with permanent 301 redirect support
- Gd / FreeType text label generator
- qsort: sorting array of strings, integers and structs
- How to allow some safe HTML in Rails projects
- Rails Photo Gallery
