1.) It needs to use the new link argument of mysql_connect so it can do multiple database connection.
2.) It needs a Query method so you can just use hand written queries.
3.) Typos in the tutorial, i.e. "<?php;"
4.) Some really simple and basic optimizations are missing. IE. $i++ should be ++$i, the use of count() inside the arguments of a for loop is slow. output count to a variable and use that in the argument.
5.) Might want to do it as an interface. http://www.developer.com/lang/php/article.php/3604111
It's a ok tutorial, but it's lacking some stuff.
1.) It needs to use the new link argument of mysql_connect so it can do multiple database connection.
2.) It needs a Query method so you can just use hand written queries.
3.) Typos in the tutorial, i.e. "<?php;"
4.) Some really simple and basic optimizations are missing. IE. $i++ should be ++$i, the use of count() inside the arguments of a for loop is slow. output count to a variable and use that in the argument.
5.) Might want to do it as an interface. http://www.developer.com/lang/php/article.php/3604111