Send HTML Email with PHP and mail()

January 25th, 2010 | Posted in PHP
2

The PHP mail() function is great for sending plain text emails but it will not send HTML emails without special headers. This article will show you a quick example how to send HTML emails with PHP....

PHP Country Array

January 24th, 2010 | Posted in PHP
0

This script includes an array of countries you can use in your PHP forms. I also included a select example that uses the same array to help speed up your development....

jQuery AJAX News Ticker

January 15th, 2010 | Posted in jQuery
0

There are several jQuery News Tickers available but I needed one that I could control the output from PHP and add a slight blank delay between news items. This demo does not have the delay between items but you can add sleep() to ticker.php if needed. This script could be modified to create the data source (ticker.php) via MySQL or RSS feeds....

jQuery Innerfade with Separate Link Region

January 14th, 2010 | Posted in jQuery
0

Was working on a project and the client needed a fading news rotator with a link to each article at the bottom of the news box. The jQuery Innerfade plugin can handle the fading rotation but requires some modification to update another <div> that includes the link from the fading news article....

Access @attributes Nodes in SimpleXML Objects

January 5th, 2010 | Posted in PHP
0

Access the [@attributes] in a SimpleXML object with this simple fix....

Blank CDATA with PHP and SimpleXML

January 4th, 2010 | Posted in PHP
0

By default CDATA blocks in XML requests using SimpleXML are not returned and the node is blank. Here is an example using an RSS feed from DevShed....