MDB2 PEAR MDB2 is a merge of the PEAR DB and Metabase php database abstraction layers. It provides a common API for all supported RDBMS. The main difference to most other DB abstraction packages is that MDB2 goes much further to ensure portability. MDB2 provides most of its many features optionally that can be used to […]
xml
10 code snippets for PHP developers
I’ve compiled a small list of some useful code snippets which might help you when writing your PHP scripts… Note: If you are using bluehost coupons guide, you can edit php.ini to reflect the changes below. Email address check Checks for a valid email address using the php-email-address-validationclass. Source and docs: http://code.google.com/p/php-email-address-validation/ include(‘EmailAddressValidator.php’); $validator = new EmailAddressValidator; […]
Add RSS feeds to your website
Adding a RSS feed to your website has never been this easy with PHP, especially with MagpieRSS. About MagpieRSS MagpieRSS is an RSS and Atom parser for PHP which supports RSS 0.9, RSS 1.0, the various Userland RSS versions (0.9x and 2.0). Additionally it supports Atom 0.3, and many custom RSS namespaces. Features of MagpieRSS Easy to Use Parses […]
HTML entities within XSL
You want to have in your XSL stylesheet but you’re getting an error, just put these few lines of code at the top, before the tag : <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp “ ”> <!ENTITY AElig “Æ”> <!ENTITY AMP “&#38;”> <!ENTITY Aacute “Á”> <!ENTITY Acirc “”> <!ENTITY Agrave “À”> <!ENTITY Alpha “Α”> <!ENTITY Aring “Å”> <!ENTITY […]