database
Clearing The Filter Cache In Drupal
Fri, 06/26/2009 - 11:30 | by philipnorton42Filters are used in Drupal to change the content of the text of a node when it is viewed. The important thing to note is that Drupal filters should never alter the actual content of the node itself. Instead, when a node is saved it stores the output of the filter in the cache_filter table and displays this content the next time the node is viewed. This is useful because it doesn't mess about with the original text, and it speeds up the displaying of the node by running the filters once, rather than every time the node is loaded.
Delete Trailing Commas In PHP
Tue, 04/14/2009 - 10:49 | by philipnorton42Converting an array of information into a string is easy, but when you are doing this for insertion into a database having trailing commas is going to mess up your SQL statements.
Take the following example, which takes an array of values and converts them into a string of values. This practice is quite common in PHP database manipulation.
A Simple Introduction To Zend_Cache
Thu, 04/02/2009 - 11:33 | by philipnorton42The Zend_Cache class is part of the Zend Framework and is used (as its name suggests) to cache things. This can be anything from the front end browser output to the outcome of a complex calculation or even the results of database queries. Zend_Cache is an enormous topic, not just how the class works, but what the best practices are for caching.
Optimize Your MySQL Database Tables
Tue, 03/03/2009 - 15:24 | by philipnorton42You can optimize MySQL tables using the OPTIMIZE command. This can be used if you have a table with any variable length rows and you make lots of changes to the data in that table. Variable length columns are VARCHAR, VARBINARY, BLOB, or TEXT. The OPTIMIZE TABLE will defragment the data and reclaim any unused space. This also has the effect of resetting any auto incrementing numbers to the highest value in the table.
Manage MySQL Databases With phpMyAdmin
Thu, 08/07/2008 - 08:23 | by philipnorton42phpMyAdmin is a tool, written in PHP, that allows you to handle the administration of a MySQL database server. You could always download the MySQL GUI tools, but the problem there is that you need to give external access to a user account, which isn't always possible to do. This is where phpMyAdmin steps in.
Get Information About A MySQL Database With PHP
Wed, 06/11/2008 - 08:13 | by philipnorton42By using the MySQL command.