WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Mobile Dev World

Go Back Add a Comment Send this Article to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES SUBMIT AN ARTICLE PRINT
Title : Case Study: Handling MySQL Growth With a PHP Class
Categories : Databases, MySQL, PHP
devarticles
devarticles
Date : 2002-11-13
Grade : 0 of 5 (graded 0 times)
Viewed : 6232
Search : More Articles by devarticles
Action : Grade This Article
Tools : My Favotite Articles


  Submit your own code examples 
 


Introduction

For those of you who are just starting out with PHP and MySQL (as I once was), it's common to just jump right in and start building your MySQL tables with PHPMyAdmin and not make any considerations for future database growth or needs... isn't it? We've all done it, and we all know we shouldn't, but it's quick and easy.

I've been working on a document-publishing engine that can extend a MySQL database in the form of a PHP class. Basically, if you want to add a field to your MySQL database, the PHP class acts as a wrapper to your database and adds the field for you. Sound complex? Well, it isn't, and in this article I will show you the code that I've used to make this class -– a kind of case study if you will.

You will need PHP 4.1 and MySQL 3.23 or above. I will assume that you're running a Linux web server, but everything will also work on a Windows 2000 server with Apache/IIS.

Read More...









Beginners guide to PHP and MySQL
Categories : PHP, Beginner Guides, Databases, MySQL, Installation
Descriptions of Common Data Types
Categories : MySQL, Databases, PHP, PHP options/info, General
Practical Date and Time examples with PHP and MySQL
Categories : Databases, MySQL, PHP, Date/time
Creating an IE-Only Database Driven Menu System With PHP, MySQL and DHTML
Categories : PHP, MySQL, Databases, DHTML
Building A Persistent Shopping Cart With PHP and MySQL
Categories : PHP, MySQL, Databases, Ecommerce
PHP, MySQL and Authentication 101
Categories : PHP, Databases, MySQL, Authentication
Miles To Go Before I Sleep...
Categories : PHP, Calendar, Databases, MySQL
Multicolumn Output from a Database with PHP
Categories : PHP, Databases, HTML and PHP, MySQL
Simple Connection to MySQL with PHP
Categories : PHP, MySQL, Databases
Time Is Money Part 1 of 2 - Designing and implementing a Web-based application
Categories : PHP, Databases, MySQL, Complete Programs
Alternating row colors with PHP and mySQL
Categories : PHP, Databases, MySQL, HTML and PHP
Date Arithmetic With MySQL
Categories : PHP, Databases, MySQL, Date Time
User identification using cookies in PHP and MySQL
Categories : PHP, Databases, MySQL, Cookies
PHP and MySQL News with Comments
Categories : PHP, Databases, MySQL
How To add paging (Pagination) with PHP and MySQL
Categories : PHP, Beginner Guides, Databases, MySQL, HTML and PHP