Tags Archive

Displaying posts with tag: PHP

Validating Data with Enhanced Declarative Data Integrity Rules

Validating Data with Enhanced Declarative Data Integrity Rules

Visit us at our new Google Code project page: http://code.google.com/p/metadata-validator/ Problem Definition Data validation and integrity assurance are complex subjects that have strong opinions tied to the way they are implemented. Some strongly feel that the database can handle validation using the column's attributes (size, data type, etc) and TRIGGERS/STORED PROCEDURES can provide means to enforce complex Read More

Geocoding with Google Maps and the Zend Framework

Geocoding with Google Maps and the Zend Framework

Download Example Files : Zip RAR Maps are a great way to engage your users and visualize data, but it can be a little tricky to setup. Here I will walk you through the steps needed to get a map up and running. //Sign Up Apply for a Google Maps API Key (free) here using your domain without Read More

Alternating Table Rows with PHP

Using PHP and CSS , it's very easy to create a report-style table with alternating colors on each row. This setup assumes a connection to a MySQL database (though any supported DBMS will work), and that you have already queried your database and are ready to work with the results in your php code.CSS.norm{ color:#fff; background-color:#000; }.alt{ color:#000; background-color:#fff; }PHP Code:That's all, Read More

Zend Framework on Apache 1.3.x

If you are having problems with the .htaccess file for Zend Framework and getting 500 errors, and are running apache 1.3.x (like at GoDaddy), add a slash before index.php in the rewrite rule.Here is one of my htaccess files for reference<IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html "access plus 1 seconds" ExpiresByType image/gif "access plus 2 Read More