PHP Archive

  • 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,...

    Full Story

  • Geocoding with Google Maps and the Zend Framework

    Geocoding with Google Maps and the Zend Framework

    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...

    Full Story

  • Alternating Table Rows with PHP

    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...

    Full Story

  • Zend Framework on Apache 1.3.x

    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...

    Full Story