<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Website Builders Resource</title>
	
	<link>http://websitebuildersresource.com</link>
	<description>Your Web Development Source</description>
	<lastBuildDate>Mon, 25 Jan 2010 21:53:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/WebsiteBuildersResource" /><feedburner:info uri="websitebuildersresource" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>WebsiteBuildersResource</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Send HTML Email with PHP and mail()</title>
		<link>http://feedproxy.google.com/~r/WebsiteBuildersResource/~3/BCiaRYVUyTI/</link>
		<comments>http://websitebuildersresource.com/2010/01/25/send-html-email-with-php-and-mail/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 21:52:39 +0000</pubDate>
		<dc:creator>builderadmin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://websitebuildersresource.com/?p=858</guid>
		<description><![CDATA[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.]]></description>
			<content:encoded><![CDATA[<p>The PHP <a href="http://us2.php.net/manual/en/function.mail.php" target="_blank">mail()</a> function is great for sending plain text emails but it will not send HTML emails without special headers.</p>
<p>Here is a PHP mail() with HTML example:</p>
<pre><code class="php">$body_html = '
	&lt;html&gt;
		&lt;head&gt;
			&lt;title&gt;HTML Test Email&lt;/title&gt;
			&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
		&lt;/head&gt;
		&lt;body&gt;
			&lt;p&gt;
				This is a test.
			&lt;/p&gt;
		&lt;/body&gt;
	&lt;/html&gt;
';

$from = 'sender@example.com';
$to = 'recipient@example.com';
$subject = 'HTML Test Email';
$headers = "From:$from\n" .
    "MIME-Version: 1.0\n" .
    "Content-type: text/html; charset=iso-8859-1";

mail($to, $subject, $body_html, $headers);</code></pre>
<h3>Demo</h3>
<p><a href="http://websitebuildersresource.com/demos/php-html-email/php-html-email.php" target="_blank">Demo Send HTML Email with PHP and mail()</a><br />
		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F25%2Fsend-html-email-with-php-and-mail%2F&amp;title=Send+HTML+Email+with+PHP+and+mail%28%29"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F25%2Fsend-html-email-with-php-and-mail%2F&amp;title=Send+HTML+Email+with+PHP+and+mail%28%29"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F25%2Fsend-html-email-with-php-and-mail%2F&amp;title=Send+HTML+Email+with+PHP+and+mail%28%29"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F25%2Fsend-html-email-with-php-and-mail%2F&amp;headline=Send+HTML+Email+with+PHP+and+mail%28%29"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Send+HTML+Email+with+PHP+and+mail%28%29&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F25%2Fsend-html-email-with-php-and-mail%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Send+HTML+Email+with+PHP+and+mail%28%29&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F25%2Fsend-html-email-with-php-and-mail%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Send+HTML+Email+with+PHP+and+mail%28%29&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F25%2Fsend-html-email-with-php-and-mail%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Send+HTML+Email+with+PHP+and+mail%28%29&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F25%2Fsend-html-email-with-php-and-mail%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Send+HTML+Email+with+PHP+and+mail%28%29&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F25%2Fsend-html-email-with-php-and-mail%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F25%2Fsend-html-email-with-php-and-mail%2F&amp;title=Send+HTML+Email+with+PHP+and+mail%28%29&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F25%2Fsend-html-email-with-php-and-mail%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F25%2Fsend-html-email-with-php-and-mail%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>No Related Post</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/RTFZskJzOaepyxgjFa-NJ-lK6HQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/RTFZskJzOaepyxgjFa-NJ-lK6HQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/RTFZskJzOaepyxgjFa-NJ-lK6HQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/RTFZskJzOaepyxgjFa-NJ-lK6HQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebsiteBuildersResource/~4/BCiaRYVUyTI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2010/01/25/send-html-email-with-php-and-mail/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://websitebuildersresource.com/2010/01/25/send-html-email-with-php-and-mail/</feedburner:origLink></item>
		<item>
		<title>PHP Country Array</title>
		<link>http://feedproxy.google.com/~r/WebsiteBuildersResource/~3/Sf_ldfk1x88/</link>
		<comments>http://websitebuildersresource.com/2010/01/24/php-country-array/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 16:32:22 +0000</pubDate>
		<dc:creator>builderadmin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[country]]></category>

		<guid isPermaLink="false">http://websitebuildersresource.com/?p=848</guid>
		<description><![CDATA[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.]]></description>
			<content:encoded><![CDATA[<pre><code class="php">$options = array(
	'AF' =&gt; 'Afghanistan',
	'AL' =&gt; 'Albania',
	'DZ' =&gt; 'Algeria',
	'AS' =&gt; 'American Samoa',
	'AD' =&gt; 'Andorra',
	'AO' =&gt; 'Angola',
	'AI' =&gt; 'Anguilla',
	'AQ' =&gt; 'Antarctica',
	'AG' =&gt; 'Antigua and Barbuda',
	'AR' =&gt; 'Argentina',
	'AM' =&gt; 'Armenia',
	'AW' =&gt; 'Aruba',
	'AU' =&gt; 'Australia',
	'AT' =&gt; 'Austria',
	'AZ' =&gt; 'Azerbaijan',
	'BS' =&gt; 'Bahamas',
	'BH' =&gt; 'Bahrain',
	'BD' =&gt; 'Bangladesh',
	'BB' =&gt; 'Barbados',
	'BY' =&gt; 'Belarus',
	'BE' =&gt; 'Belgium',
	'BZ' =&gt; 'Belize',
	'BJ' =&gt; 'Benin',
	'BM' =&gt; 'Bermuda',
	'BT' =&gt; 'Bhutan',
	'BO' =&gt; 'Bolivia',
	'BA' =&gt; 'Bosnia and Herzegowina',
	'BW' =&gt; 'Botswana',
	'BV' =&gt; 'Bouvet Island',
	'BR' =&gt; 'Brazil',
	'IO' =&gt; 'British Indian Ocean Territory',
	'VG' =&gt; 'British Virgin Islands',
	'BN' =&gt; 'Brunei Darussalam',
	'BG' =&gt; 'Bulgaria',
	'BF' =&gt; 'Burkina Faso',
	'BI' =&gt; 'Burundi',
	'KH' =&gt; 'Cambodia',
	'CM' =&gt; 'Cameroon',
	'CA' =&gt; 'Canada',
	'CV' =&gt; 'Cape Verde',
	'KY' =&gt; 'Cayman Islands',
	'CF' =&gt; 'Central African Republic',
	'TD' =&gt; 'Chad',
	'CL' =&gt; 'Chile',
	'CN' =&gt; 'China',
	'CX' =&gt; 'Christmas Island',
	'CC' =&gt; 'Cocos (Keeling) Islands',
	'CO' =&gt; 'Colombia',
	'KM' =&gt; 'Comoros',
	'CG' =&gt; 'Congo',
	'CK' =&gt; 'Cook Islands',
	'CR' =&gt; 'Costa Rica',
	'CI' =&gt; 'Cote D\'ivoire',
	'HR' =&gt; 'Croatia',
	'CU' =&gt; 'Cuba',
	'CY' =&gt; 'Cyprus',
	'CZ' =&gt; 'Czech Republic',
	'DK' =&gt; 'Denmark',
	'DJ' =&gt; 'Djibouti',
	'DM' =&gt; 'Dominica',
	'DO' =&gt; 'Dominican Republic',
	'TP' =&gt; 'East Timor',
	'EC' =&gt; 'Ecuador',
	'EG' =&gt; 'Egypt',
	'SV' =&gt; 'El Salvador',
	'GQ' =&gt; 'Equatorial Guinea',
	'ER' =&gt; 'Eritrea',
	'EE' =&gt; 'Estonia',
	'ET' =&gt; 'Ethiopia',
	'FK' =&gt; 'Falkland Islands (Malvinas)',
	'FO' =&gt; 'Faroe Islands',
	'FJ' =&gt; 'Fiji',
	'FI' =&gt; 'Finland',
	'FR' =&gt; 'France',
	'GF' =&gt; 'French Guiana',
	'PF' =&gt; 'French Polynesia',
	'TF' =&gt; 'French Southern Territories',
	'GA' =&gt; 'Gabon',
	'GM' =&gt; 'Gambia',
	'GE' =&gt; 'Georgia',
	'DE' =&gt; 'Germany',
	'GH' =&gt; 'Ghana',
	'GI' =&gt; 'Gibraltar',
	'GR' =&gt; 'Greece',
	'GL' =&gt; 'Greenland',
	'GD' =&gt; 'Grenada',
	'GP' =&gt; 'Guadeloupe',
	'GU' =&gt; 'Guam',
	'GT' =&gt; 'Guatemala',
	'GN' =&gt; 'Guinea',
	'GW' =&gt; 'Guinea-Bissau',
	'GY' =&gt; 'Guyana',
	'HT' =&gt; 'Haiti',
	'HM' =&gt; 'Heard and McDonald Islands',
	'HN' =&gt; 'Honduras',
	'HK' =&gt; 'Hong Kong',
	'HU' =&gt; 'Hungary',
	'IS' =&gt; 'Iceland',
	'IN' =&gt; 'India',
	'ID' =&gt; 'Indonesia',
	'IQ' =&gt; 'Iraq',
	'IE' =&gt; 'Ireland',
	'IR' =&gt; 'Islamic Republic of Iran',
	'IL' =&gt; 'Israel',
	'IT' =&gt; 'Italy',
	'JM' =&gt; 'Jamaica',
	'JP' =&gt; 'Japan',
	'JO' =&gt; 'Jordan',
	'KZ' =&gt; 'Kazakhstan',
	'KE' =&gt; 'Kenya',
	'KI' =&gt; 'Kiribati',
	'KP' =&gt; 'Korea',
	'KR' =&gt; 'Korea, Republic of',
	'KW' =&gt; 'Kuwait',
	'KG' =&gt; 'Kyrgyzstan',
	'LA' =&gt; 'Laos',
	'LV' =&gt; 'Latvia',
	'LB' =&gt; 'Lebanon',
	'LS' =&gt; 'Lesotho',
	'LR' =&gt; 'Liberia',
	'LY' =&gt; 'Libyan Arab Jamahiriya',
	'LI' =&gt; 'Liechtenstein',
	'LT' =&gt; 'Lithuania',
	'LU' =&gt; 'Luxembourg',
	'MO' =&gt; 'Macau',
	'MK' =&gt; 'Macedonia',
	'MG' =&gt; 'Madagascar',
	'MW' =&gt; 'Malawi',
	'MY' =&gt; 'Malaysia',
	'MV' =&gt; 'Maldives',
	'ML' =&gt; 'Mali',
	'MT' =&gt; 'Malta',
	'MH' =&gt; 'Marshall Islands',
	'MQ' =&gt; 'Martinique',
	'MR' =&gt; 'Mauritania',
	'MU' =&gt; 'Mauritius',
	'YT' =&gt; 'Mayotte',
	'MX' =&gt; 'Mexico',
	'FM' =&gt; 'Micronesia',
	'MD' =&gt; 'Moldova, Republic of',
	'MC' =&gt; 'Monaco',
	'MN' =&gt; 'Mongolia',
	'MS' =&gt; 'Montserrat',
	'MA' =&gt; 'Morocco',
	'MZ' =&gt; 'Mozambique',
	'MM' =&gt; 'Myanmar',
	'NA' =&gt; 'Namibia',
	'NR' =&gt; 'Nauru',
	'NP' =&gt; 'Nepal',
	'NL' =&gt; 'Netherlands',
	'AN' =&gt; 'Netherlands Antilles',
	'NC' =&gt; 'New Caledonia',
	'NZ' =&gt; 'New Zealand',
	'NI' =&gt; 'Nicaragua',
	'NE' =&gt; 'Niger',
	'NG' =&gt; 'Nigeria',
	'NU' =&gt; 'Niue',
	'NF' =&gt; 'Norfolk Island',
	'MP' =&gt; 'Northern Mariana Islands',
	'NO' =&gt; 'Norway',
	'OM' =&gt; 'Oman',
	'PK' =&gt; 'Pakistan',
	'PW' =&gt; 'Palau',
	'PA' =&gt; 'Panama',
	'PG' =&gt; 'Papua New Guinea',
	'PY' =&gt; 'Paraguay',
	'PE' =&gt; 'Peru',
	'PH' =&gt; 'Philippines',
	'PN' =&gt; 'Pitcairn',
	'PL' =&gt; 'Poland',
	'PT' =&gt; 'Portugal',
	'PR' =&gt; 'Puerto Rico',
	'QA' =&gt; 'Qatar',
	'RE' =&gt; 'Reunion',
	'RO' =&gt; 'Romania',
	'RU' =&gt; 'Russian Federation',
	'RW' =&gt; 'Rwanda',
	'LC' =&gt; 'Saint Lucia',
	'WS' =&gt; 'Samoa',
	'SM' =&gt; 'San Marino',
	'ST' =&gt; 'Sao Tome and Principe',
	'SA' =&gt; 'Saudi Arabia',
	'SN' =&gt; 'Senegal',
	'YU' =&gt; 'Serbia and Montenegro',
	'SC' =&gt; 'Seychelles',
	'SL' =&gt; 'Sierra Leone',
	'SG' =&gt; 'Singapore',
	'SK' =&gt; 'Slovakia',
	'SI' =&gt; 'Slovenia',
	'SB' =&gt; 'Solomon Islands',
	'SO' =&gt; 'Somalia',
	'ZA' =&gt; 'South Africa',
	'ES' =&gt; 'Spain',
	'LK' =&gt; 'Sri Lanka',
	'SH' =&gt; 'St. Helena',
	'KN' =&gt; 'St. Kitts and Nevis',
	'PM' =&gt; 'St. Pierre and Miquelon',
	'VC' =&gt; 'St. Vincent and the Grenadines',
	'SD' =&gt; 'Sudan',
	'SR' =&gt; 'Suriname',
	'SJ' =&gt; 'Svalbard and Jan Mayen Islands',
	'SZ' =&gt; 'Swaziland',
	'SE' =&gt; 'Sweden',
	'CH' =&gt; 'Switzerland',
	'SY' =&gt; 'Syrian Arab Republic',
	'TW' =&gt; 'Taiwan',
	'TJ' =&gt; 'Tajikistan',
	'TZ' =&gt; 'Tanzania, United Republic of',
	'TH' =&gt; 'Thailand',
	'TG' =&gt; 'Togo',
	'TK' =&gt; 'Tokelau',
	'TO' =&gt; 'Tonga',
	'TT' =&gt; 'Trinidad and Tobago',
	'TN' =&gt; 'Tunisia',
	'TR' =&gt; 'Turkey',
	'TM' =&gt; 'Turkmenistan',
	'TC' =&gt; 'Turks and Caicos Islands',
	'TV' =&gt; 'Tuvalu',
	'UG' =&gt; 'Uganda',
	'UA' =&gt; 'Ukraine',
	'AE' =&gt; 'United Arab Emirates',
	'GB' =&gt; 'United Kingdom (Great Britain)',
	'US' =&gt; 'United States',
	'VI' =&gt; 'United States Virgin Islands',
	'UY' =&gt; 'Uruguay',
	'UZ' =&gt; 'Uzbekistan',
	'VU' =&gt; 'Vanuatu',
	'VA' =&gt; 'Vatican City State',
	'VE' =&gt; 'Venezuela',
	'VN' =&gt; 'Vietnam',
	'WF' =&gt; 'Wallis And Futuna Islands',
	'EH' =&gt; 'Western Sahara',
	'YE' =&gt; 'Yemen',
	'ZR' =&gt; 'Zaire',
	'ZM' =&gt; 'Zambia',
	'ZW' =&gt; 'Zimbabwe'
);</code></pre>
<h3>&lt;select&gt; Example</h3>
<pre><code class="html">&lt;form method="post" action=""&gt;
	&lt;select name="country"&gt;
		&lt;option&gt;&lt;/option&gt;
		&lt;?php
		foreach ($options as $key =&gt; $val)
		{
			?&gt;
			&lt;option value="&lt;?php echo $key; ?&gt;" &lt;?php echo ($_POST['country'] == $key) ? 'selected=""' : ''; ?&gt;&gt;&lt;?php echo $val; ?&gt;&lt;/option&gt;
			&lt;?php
		}
		?&gt;
	&lt;/select&gt;
&lt;/form&gt;</code></pre>
<h3>Demo/Download</h3>
<p><a href="http://websitebuildersresource.com/wp-content/uploads/2010/01/php-country-array.zip">Download</a><br />
<a href="http://websitebuildersresource.com/demos/php-country-array/php-country-array.php" target="_blank">Demo PHP Country Array</a><br />
		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F24%2Fphp-country-array%2F&amp;title=PHP+Country+Array"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F24%2Fphp-country-array%2F&amp;title=PHP+Country+Array"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F24%2Fphp-country-array%2F&amp;title=PHP+Country+Array"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F24%2Fphp-country-array%2F&amp;headline=PHP+Country+Array"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=PHP+Country+Array&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F24%2Fphp-country-array%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=PHP+Country+Array&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F24%2Fphp-country-array%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=PHP+Country+Array&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F24%2Fphp-country-array%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=PHP+Country+Array&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F24%2Fphp-country-array%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=PHP+Country+Array&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F24%2Fphp-country-array%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F24%2Fphp-country-array%2F&amp;title=PHP+Country+Array&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F24%2Fphp-country-array%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F24%2Fphp-country-array%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://websitebuildersresource.com/2008/11/23/copy-php-implode-function-with-c-shar/" title="PHP implode() Function with C#">PHP implode() Function with C#</a></li><li><a href="http://websitebuildersresource.com/2010/01/04/blank-cdata-with-php-and-simplexml/" title="Blank CDATA with PHP and SimpleXML">Blank CDATA with PHP and SimpleXML</a></li><li><a href="http://websitebuildersresource.com/2009/02/07/jquery-select-manipulation-multiple-selects-json-default/" title="jQuery &lt;select&gt; Manipulation, Multiple Selects with JSON, Set Defaults, Oh My">jQuery &lt;select&gt; Manipulation, Multiple Selects with JSON, Set Defaults, Oh My</a></li><li><a href="http://websitebuildersresource.com/2008/12/26/set-php-include-path-in-htaccess/" title="Set PHP Include Path in htaccess">Set PHP Include Path in htaccess</a></li><li><a href="http://websitebuildersresource.com/2008/11/30/add-items-dynamically-to-dotnet-arrays-with-c-sharp/" title="Add Items Dynamically to .NET Arrays with C#">Add Items Dynamically to .NET Arrays with C#</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/-m_d31H3Ggc5-7dmaDjrD7I-EIs/0/da"><img src="http://feedads.g.doubleclick.net/~a/-m_d31H3Ggc5-7dmaDjrD7I-EIs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/-m_d31H3Ggc5-7dmaDjrD7I-EIs/1/da"><img src="http://feedads.g.doubleclick.net/~a/-m_d31H3Ggc5-7dmaDjrD7I-EIs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebsiteBuildersResource/~4/Sf_ldfk1x88" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2010/01/24/php-country-array/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://websitebuildersresource.com/2010/01/24/php-country-array/</feedburner:origLink></item>
		<item>
		<title>jQuery AJAX News Ticker</title>
		<link>http://feedproxy.google.com/~r/WebsiteBuildersResource/~3/FvexvZQ53m0/</link>
		<comments>http://websitebuildersresource.com/2010/01/15/jquery-ajax-news-ticker/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 23:43:40 +0000</pubDate>
		<dc:creator>builderadmin</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://websitebuildersresource.com/?p=806</guid>
		<description><![CDATA[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.]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<p>This script calls ticker.php for the first item to set in the ticker &lt;div&gt; and also set the total count for the javascript to loop through then calls the appropriate indexed item from the $json array in ticker.php.</p>
<p>For the impatient:<br />
<a href="http://websitebuildersresource.com/demos/jquery-ajax-news-ticker/" target="_blank">Demo of the jQuery AJAX News Ticker</a></p>
<h3>PHP: ticker.php</h3>
<pre><code class="php">if ($_GET['r'] == 1)
{
    // Removing browser caching
    header( "Expires: Mon, 20 Dec 1998 01:00:00 GMT" );
    header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
    header( "Cache-Control: no-cache, must-revalidate" );
    header( "Pragma: no-cache" );
}

$json = array();

$json[] = array(
	'url' =&gt; '#1',
	'text' =&gt; 'First Item Text'
);

$json[] = array(
	'url' =&gt; '#2',
	'text' =&gt; 'Second Item Text'
);

$json[] = array(
	'url' =&gt; '#3',
	'text' =&gt; 'Third Item Text'
);

$json[] = array(
	'url' =&gt; '#4',
	'text' =&gt; 'Fourth Item Text'
);

if ($_GET['r'] == 1)
{
    echo json_encode(array($json[((int)$_GET['i'] - 1)]));
}</code></pre>
<h3>jQuery</h3>
<pre><code class="javascript">&lt;?php
// Call the ticker.php script to grab the first item and total items
require('ticker.php');
?&gt;

var total = &lt;?php echo count($json); ?&gt;;
var current = 1;

$(document).ready(function(){
	setInterval("get_ticker()", 3000); // Change this to your specified need time, in milliseconds
});

function get_ticker()
{
	// Increment the counter
	if (current != total)
	{
		current  ;
	}
	else
	{
		current = 1;
	}

	// Get the data
	$.ajax({
		type: "GET",
		dataType: "json",
		cache: false,
		url: "ticker.php?i="   current   "&amp;r=1",
		timeout: 2000,
		error: function() {
			alert("Failed to submit");
		},
		success: function(data) {
			$.each(data, function(i, j){
				$("#ticker-link").attr("href", j.url);
				$("#ticker-link").text(j.text);
			});
		}
	});
}</code></pre>
<h3>HTML</h3>
<pre><code class="html">&lt;div id="ticker"&gt;
	&lt;!-- Display the first item --&gt;
	&lt;a href="&lt;?php echo $json[0]['url']; ?&gt;" id="ticker-link"&gt;&lt;?php echo $json[0]['text']; ?&gt;&lt;/a&gt;
&lt;/div&gt;</code></pre>
<h3>Demo/Download</h3>
<p><a href="http://websitebuildersresource.com/wp-content/uploads/2010/01/jquery-ajax-news-ticker.zip">Download</a><br />
<a href="http://websitebuildersresource.com/demos/jquery-ajax-news-ticker/" target="_blank">Demo of the jQuery AJAX News Ticker</a><br />
		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F15%2Fjquery-ajax-news-ticker%2F&amp;title=jQuery+AJAX+News+Ticker"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F15%2Fjquery-ajax-news-ticker%2F&amp;title=jQuery+AJAX+News+Ticker"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F15%2Fjquery-ajax-news-ticker%2F&amp;title=jQuery+AJAX+News+Ticker"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F15%2Fjquery-ajax-news-ticker%2F&amp;headline=jQuery+AJAX+News+Ticker"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=jQuery+AJAX+News+Ticker&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F15%2Fjquery-ajax-news-ticker%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=jQuery+AJAX+News+Ticker&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F15%2Fjquery-ajax-news-ticker%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=jQuery+AJAX+News+Ticker&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F15%2Fjquery-ajax-news-ticker%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=jQuery+AJAX+News+Ticker&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F15%2Fjquery-ajax-news-ticker%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=jQuery+AJAX+News+Ticker&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F15%2Fjquery-ajax-news-ticker%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F15%2Fjquery-ajax-news-ticker%2F&amp;title=jQuery+AJAX+News+Ticker&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F15%2Fjquery-ajax-news-ticker%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F15%2Fjquery-ajax-news-ticker%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>No Related Post</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/fue6wAl5QRHn-zQy-U88oSp2hFI/0/da"><img src="http://feedads.g.doubleclick.net/~a/fue6wAl5QRHn-zQy-U88oSp2hFI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/fue6wAl5QRHn-zQy-U88oSp2hFI/1/da"><img src="http://feedads.g.doubleclick.net/~a/fue6wAl5QRHn-zQy-U88oSp2hFI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebsiteBuildersResource/~4/FvexvZQ53m0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2010/01/15/jquery-ajax-news-ticker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://websitebuildersresource.com/2010/01/15/jquery-ajax-news-ticker/</feedburner:origLink></item>
		<item>
		<title>jQuery Innerfade with Separate Link Region</title>
		<link>http://feedproxy.google.com/~r/WebsiteBuildersResource/~3/I50Q3i-k-vM/</link>
		<comments>http://websitebuildersresource.com/2010/01/14/jquery-innerfade-with-separate-link-region/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 17:37:28 +0000</pubDate>
		<dc:creator>builderadmin</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://websitebuildersresource.com/?p=789</guid>
		<description><![CDATA[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 &#60;div&#62; that includes the link from the fading news article.]]></description>
			<content:encoded><![CDATA[<p>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 <a href="http://medienfreunde.com/lab/innerfade/" target="_blank">jQuery Innerfade</a> plugin can handle the fading rotation but requires some modification to update another &lt;div&gt; that includes the link from the fading news article.</p>
<p>Here is demo that might help explain:<br />
<a href="http://websitebuildersresource.com/demos/jquery-innerfade-link-region/jquery-innerfade-link-region.php" target="_blank"> jQuery Innerfade with Separate Link Region Demo</a></p>
<h3>jQuery</h3>
<p>Place this in your &lt;head&gt; section:</p>
<pre><code class="javascript">&lt;script type="text/javascript" src="jquery.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="jquery.innerfade.js"&gt;&lt;/script&gt;

&lt;script type="text/javascript"&gt;
	$(document).ready(function(){
		$('#fade').innerfade({
			speed: 1000,
			timeout: 4000,
			type: 'sequence'
		});
	});
&lt;/script&gt;</code></pre>
<p>To change the HTML elements you need to apply the HREF to open jquery.innerfade.js and go to Line 79-84. You can comment out the debug text.</p>
<pre><code class="javascript">// Set the news link
var this_element = $(elements[current]);
var matches = /&lt;a\s [^&gt;]*href="([^"]*)"[^&gt;]*&gt;(.*)&lt;\/a&gt;/i.exec(this_element.html());
var url = matches[1];
$("a#news-link").attr("href", url);
$("div#news-link-debug").html("Debug Item HREF: " + url);</code></pre>
<h3>HTML</h3>
<pre><code class="html">&lt;ul id="fade"&gt;
	&lt;li&gt;&lt;a href="#1"&gt;Item 1&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="#2"&gt;Item 2&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="#3"&gt;Item 3&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="#4"&gt;Item 4&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div id="news-link"&gt;&lt;a href="#1"&gt;Click Here&lt;/a&gt;&lt;/div&gt;
&lt;div id="news-link-debug"&gt;&lt;/div&gt;</code></pre>
<h3>Demo/Download</h3>
<p><a href="http://websitebuildersresource.com/wp-content/uploads/2010/01/jquery-innerfade-link-region.zip">Download</a><br />
<a href="http://websitebuildersresource.com/demos/jquery-innerfade-link-region/jquery-innerfade-link-region.php" target="_blank">jQuery Innerfade with Separate Link Region Demo</a><br />
		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F14%2Fjquery-innerfade-with-separate-link-region%2F&amp;title=jQuery+Innerfade+with+Separate+Link+Region"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F14%2Fjquery-innerfade-with-separate-link-region%2F&amp;title=jQuery+Innerfade+with+Separate+Link+Region"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F14%2Fjquery-innerfade-with-separate-link-region%2F&amp;title=jQuery+Innerfade+with+Separate+Link+Region"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F14%2Fjquery-innerfade-with-separate-link-region%2F&amp;headline=jQuery+Innerfade+with+Separate+Link+Region"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=jQuery+Innerfade+with+Separate+Link+Region&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F14%2Fjquery-innerfade-with-separate-link-region%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=jQuery+Innerfade+with+Separate+Link+Region&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F14%2Fjquery-innerfade-with-separate-link-region%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=jQuery+Innerfade+with+Separate+Link+Region&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F14%2Fjquery-innerfade-with-separate-link-region%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=jQuery+Innerfade+with+Separate+Link+Region&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F14%2Fjquery-innerfade-with-separate-link-region%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=jQuery+Innerfade+with+Separate+Link+Region&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F14%2Fjquery-innerfade-with-separate-link-region%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F14%2Fjquery-innerfade-with-separate-link-region%2F&amp;title=jQuery+Innerfade+with+Separate+Link+Region&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F14%2Fjquery-innerfade-with-separate-link-region%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F14%2Fjquery-innerfade-with-separate-link-region%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>No Related Post</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/1PuRwE1ScI7vDpjaHQbOqnQ7A0E/0/da"><img src="http://feedads.g.doubleclick.net/~a/1PuRwE1ScI7vDpjaHQbOqnQ7A0E/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/1PuRwE1ScI7vDpjaHQbOqnQ7A0E/1/da"><img src="http://feedads.g.doubleclick.net/~a/1PuRwE1ScI7vDpjaHQbOqnQ7A0E/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebsiteBuildersResource/~4/I50Q3i-k-vM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2010/01/14/jquery-innerfade-with-separate-link-region/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://websitebuildersresource.com/2010/01/14/jquery-innerfade-with-separate-link-region/</feedburner:origLink></item>
		<item>
		<title>Access @attributes Nodes in SimpleXML Objects</title>
		<link>http://feedproxy.google.com/~r/WebsiteBuildersResource/~3/ZqoXayerTRE/</link>
		<comments>http://websitebuildersresource.com/2010/01/05/access-attributes-nodes-in-simplexml-objects/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 20:26:17 +0000</pubDate>
		<dc:creator>Jason Maletsky</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[attribute]]></category>
		<category><![CDATA[simplexml]]></category>

		<guid isPermaLink="false">http://websitebuildersresource.com/?p=784</guid>
		<description><![CDATA[Access the [@attributes] in a SimpleXML object with this simple fix.]]></description>
			<content:encoded><![CDATA[<p>To access the [@attributes] in a SimpleXML object use the following code:</p>
<pre><code class="php">$xml = simplexml_load_string($curl_result, 'SimpleXMLElement', LIBXML_NOCDATA);

foreach ($xml-&gt;item as $f)
{
    echo $f-&gt;attributes()-&gt;id . '&lt;br /&gt;';
}</code></pre>
<p>		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F05%2Faccess-attributes-nodes-in-simplexml-objects%2F&amp;title=Access+%40attributes+Nodes+in+SimpleXML+Objects"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F05%2Faccess-attributes-nodes-in-simplexml-objects%2F&amp;title=Access+%40attributes+Nodes+in+SimpleXML+Objects"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F05%2Faccess-attributes-nodes-in-simplexml-objects%2F&amp;title=Access+%40attributes+Nodes+in+SimpleXML+Objects"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F05%2Faccess-attributes-nodes-in-simplexml-objects%2F&amp;headline=Access+%40attributes+Nodes+in+SimpleXML+Objects"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Access+%40attributes+Nodes+in+SimpleXML+Objects&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F05%2Faccess-attributes-nodes-in-simplexml-objects%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Access+%40attributes+Nodes+in+SimpleXML+Objects&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F05%2Faccess-attributes-nodes-in-simplexml-objects%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Access+%40attributes+Nodes+in+SimpleXML+Objects&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F05%2Faccess-attributes-nodes-in-simplexml-objects%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Access+%40attributes+Nodes+in+SimpleXML+Objects&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F05%2Faccess-attributes-nodes-in-simplexml-objects%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Access+%40attributes+Nodes+in+SimpleXML+Objects&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F05%2Faccess-attributes-nodes-in-simplexml-objects%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F05%2Faccess-attributes-nodes-in-simplexml-objects%2F&amp;title=Access+%40attributes+Nodes+in+SimpleXML+Objects&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F05%2Faccess-attributes-nodes-in-simplexml-objects%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F05%2Faccess-attributes-nodes-in-simplexml-objects%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://websitebuildersresource.com/2010/01/04/blank-cdata-with-php-and-simplexml/" title="Blank CDATA with PHP and SimpleXML">Blank CDATA with PHP and SimpleXML</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/OWIqvmvODF_vGTYTQPNeIshgMHU/0/da"><img src="http://feedads.g.doubleclick.net/~a/OWIqvmvODF_vGTYTQPNeIshgMHU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/OWIqvmvODF_vGTYTQPNeIshgMHU/1/da"><img src="http://feedads.g.doubleclick.net/~a/OWIqvmvODF_vGTYTQPNeIshgMHU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebsiteBuildersResource/~4/ZqoXayerTRE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2010/01/05/access-attributes-nodes-in-simplexml-objects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://websitebuildersresource.com/2010/01/05/access-attributes-nodes-in-simplexml-objects/</feedburner:origLink></item>
		<item>
		<title>Blank CDATA with PHP and SimpleXML</title>
		<link>http://feedproxy.google.com/~r/WebsiteBuildersResource/~3/oZxl_rpf_8Y/</link>
		<comments>http://websitebuildersresource.com/2010/01/04/blank-cdata-with-php-and-simplexml/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 06:37:43 +0000</pubDate>
		<dc:creator>Jason Maletsky</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[cdata]]></category>
		<category><![CDATA[simplexml]]></category>

		<guid isPermaLink="false">http://websitebuildersresource.com/?p=766</guid>
		<description><![CDATA[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.]]></description>
			<content:encoded><![CDATA[<p>By default CDATA blocks in XML requests using <a href="http://us2.php.net/manual/en/book.simplexml.php" target="_blank">SimpleXML</a> are not returned and the node is blank. Here is an example using an RSS feed from <a href="http://www.devshed.com/" target="_blank">DevShed</a>.</p>
<h2>SimpleXML Default</h2>
<h3>Request</h3>
<pre><code class="php">$url = 'http://www.devshed.com/rss-feeds-11.xml';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 3); 

// Execute, close connection
$curl_result = curl_exec($ch);
curl_close($ch); 

// Convert to SimpleXML
$xml = new SimpleXMLElement($curl_result);
print_r($xml);</code></pre>
<h3>Response</h3>
<p>Notice that the &lt;description&gt; node is blank.</p>
<pre><code class="php">[0] =&gt; SimpleXMLElement Object
(
	[title] =&gt; Exception Handling in PHP
	[pubDate] =&gt; Mon, 04 Jan 2010 09:00:01 -0500
	[link] =&gt; http://www.devshed.com/c/a/PHP/Exception-Handling-in-PHP/?kc=rss
	[description] =&gt; SimpleXMLElement Object
		(
		)
	[guid] =&gt; http://www.devshed.com/c/a/PHP/Exception-Handling-in-PHP/?kc=rss
)</code></pre>
<h2>SimpleXML using simplexml_load_string</h2>
<h3>Request</h3>
<pre><code class="php">$url = 'http://www.devshed.com/rss-feeds-11.xml';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_TIMEOUT, 3); 

// Execute, close connection
$curl_result = curl_exec($ch);
curl_close($ch); 

$xml = simplexml_load_string($curl_result, 'SimpleXMLElement', LIBXML_NOCDATA);
print_r($xml);</code></pre>
<h3>Response</h3>
<p>&lt;description&gt; is now filled in.</p>
<pre><code class="php">[0] =&gt; SimpleXMLElement Object
(
	[title] =&gt; Exception Handling in PHP
	[pubDate] =&gt; Mon, 04 Jan 2010 09:00:01 -0500
	[link] =&gt; http://www.devshed.com/c/a/PHP/Exception-Handling-in-PHP/?kc=rss
	[description] =&gt;
In this second part of a two-part series on error and exception handling in PHP, we focus specifically on handling exceptions. This article is excerpted from chapter 8 of the book Beginning PHP and Oracle: From Novice to Professional, written by W. Jason Gilmore and Bob Bryla (Apress; ISBN: 1590597702).
-  Exception Handling
Languages such as Java, C#, and Python have long been heralded for their efficient error-management abilities, accomplished through the use of exception handling. If you have prior experience working with exception handlers, you likely scratch your head when working with any l...
	[guid] =&gt; http://www.devshed.com/c/a/PHP/Exception-Handling-in-PHP/?kc=rss
)</code></pre>
<h2>Demos</h2>
<p><a href="http://websitebuildersresource.com/demos/blank-cdata-php-simplexml/simplexml-default.php" target="_blank">SimpleXML Default</a><br />
<a href="http://websitebuildersresource.com/demos/blank-cdata-php-simplexml/simplexml-cdata.php" target="_blank">SimpleXML using simplexml_load_string</a></p>
<h2>Download</h2>
<p><a href="http://websitebuildersresource.com/wp-content/uploads/2010/01/blank-cdata-php-simplexml.zip">Zip Archive</a><br />
		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F04%2Fblank-cdata-with-php-and-simplexml%2F&amp;title=Blank+CDATA+with+PHP+and+SimpleXML"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F04%2Fblank-cdata-with-php-and-simplexml%2F&amp;title=Blank+CDATA+with+PHP+and+SimpleXML"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F04%2Fblank-cdata-with-php-and-simplexml%2F&amp;title=Blank+CDATA+with+PHP+and+SimpleXML"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F04%2Fblank-cdata-with-php-and-simplexml%2F&amp;headline=Blank+CDATA+with+PHP+and+SimpleXML"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Blank+CDATA+with+PHP+and+SimpleXML&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F04%2Fblank-cdata-with-php-and-simplexml%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Blank+CDATA+with+PHP+and+SimpleXML&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F04%2Fblank-cdata-with-php-and-simplexml%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Blank+CDATA+with+PHP+and+SimpleXML&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F04%2Fblank-cdata-with-php-and-simplexml%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Blank+CDATA+with+PHP+and+SimpleXML&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F04%2Fblank-cdata-with-php-and-simplexml%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Blank+CDATA+with+PHP+and+SimpleXML&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F04%2Fblank-cdata-with-php-and-simplexml%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F04%2Fblank-cdata-with-php-and-simplexml%2F&amp;title=Blank+CDATA+with+PHP+and+SimpleXML&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F04%2Fblank-cdata-with-php-and-simplexml%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2010%2F01%2F04%2Fblank-cdata-with-php-and-simplexml%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://websitebuildersresource.com/2010/01/24/php-country-array/" title="PHP Country Array">PHP Country Array</a></li><li><a href="http://websitebuildersresource.com/2010/01/05/access-attributes-nodes-in-simplexml-objects/" title="Access @attributes Nodes in SimpleXML Objects">Access @attributes Nodes in SimpleXML Objects</a></li><li><a href="http://websitebuildersresource.com/2009/02/07/jquery-select-manipulation-multiple-selects-json-default/" title="jQuery &lt;select&gt; Manipulation, Multiple Selects with JSON, Set Defaults, Oh My">jQuery &lt;select&gt; Manipulation, Multiple Selects with JSON, Set Defaults, Oh My</a></li><li><a href="http://websitebuildersresource.com/2008/12/26/set-php-include-path-in-htaccess/" title="Set PHP Include Path in htaccess">Set PHP Include Path in htaccess</a></li><li><a href="http://websitebuildersresource.com/2008/11/23/my-essential-developers-toolbox/" title="My Essential Developer&#8217;s Toolbox &#8211; Part I">My Essential Developer&#8217;s Toolbox &#8211; Part I</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/KFh1qR3cozGhw9kNhsnHyksQZ6s/0/da"><img src="http://feedads.g.doubleclick.net/~a/KFh1qR3cozGhw9kNhsnHyksQZ6s/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/KFh1qR3cozGhw9kNhsnHyksQZ6s/1/da"><img src="http://feedads.g.doubleclick.net/~a/KFh1qR3cozGhw9kNhsnHyksQZ6s/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebsiteBuildersResource/~4/oZxl_rpf_8Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2010/01/04/blank-cdata-with-php-and-simplexml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://websitebuildersresource.com/2010/01/04/blank-cdata-with-php-and-simplexml/</feedburner:origLink></item>
		<item>
		<title>Happy New Year</title>
		<link>http://feedproxy.google.com/~r/WebsiteBuildersResource/~3/t666bnCroVs/</link>
		<comments>http://websitebuildersresource.com/2009/12/31/happy-new-year/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 19:52:06 +0000</pubDate>
		<dc:creator>Jason Maletsky</dc:creator>
				<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://websitebuildersresource.com/?p=733</guid>
		<description><![CDATA[It&#8217;s going to be a great year and I finally have extra time to start writing again.
For those who have been here before I&#8217;m sure you noticed the new template. I am in the process of migrating from the Google Syntax Highlighter plugin to Chili so code in some posts needs to be reformatted.
Great content [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s going to be a great year and I finally have extra time to start writing again.</p>
<p>For those who have been here before I&#8217;m sure you noticed the new template. I am in the process of migrating from the <a href="http://wordpress.org/extend/plugins/google-syntax-highlighter/" target="_blank">Google Syntax Highlighter</a> plugin to <a href="http://wordpress.org/extend/plugins/chili-code-highlighter/" target="_blank">Chili</a> so code in some posts needs to be reformatted.</p>
<p>Great content is on it&#8217;s way including a lot of custom Wordpress plugins, Wordpress tutorials, X-cart plugins, X-cart themes, PHP scripts, etc, etc.</p>
<p>Hope everyone has a great 2010!!!<br />
		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F12%2F31%2Fhappy-new-year%2F&amp;title=Happy+New+Year"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F12%2F31%2Fhappy-new-year%2F&amp;title=Happy+New+Year"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F12%2F31%2Fhappy-new-year%2F&amp;title=Happy+New+Year"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F12%2F31%2Fhappy-new-year%2F&amp;headline=Happy+New+Year"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Happy+New+Year&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F12%2F31%2Fhappy-new-year%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Happy+New+Year&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F12%2F31%2Fhappy-new-year%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Happy+New+Year&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F12%2F31%2Fhappy-new-year%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Happy+New+Year&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F12%2F31%2Fhappy-new-year%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Happy+New+Year&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F12%2F31%2Fhappy-new-year%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F12%2F31%2Fhappy-new-year%2F&amp;title=Happy+New+Year&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F12%2F31%2Fhappy-new-year%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F12%2F31%2Fhappy-new-year%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>No Related Post</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/_V7z1yXt5Biy53NbdOASH1Xm-RI/0/da"><img src="http://feedads.g.doubleclick.net/~a/_V7z1yXt5Biy53NbdOASH1Xm-RI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/_V7z1yXt5Biy53NbdOASH1Xm-RI/1/da"><img src="http://feedads.g.doubleclick.net/~a/_V7z1yXt5Biy53NbdOASH1Xm-RI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebsiteBuildersResource/~4/t666bnCroVs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2009/12/31/happy-new-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://websitebuildersresource.com/2009/12/31/happy-new-year/</feedburner:origLink></item>
		<item>
		<title>How to be a Rockstar Wordpress Designer Book Review</title>
		<link>http://feedproxy.google.com/~r/WebsiteBuildersResource/~3/i8Ke7vHXIyk/</link>
		<comments>http://websitebuildersresource.com/2009/02/16/how-to-be-a-rockstar-wordpress-designer-book-review/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 04:14:37 +0000</pubDate>
		<dc:creator>Jason Maletsky</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://websitebuildersresource.com/?p=633</guid>
		<description><![CDATA[WordPress is an impressive open source blog engine and it's been a long time since I have been this enthusiastic about a new application. WordPress is easy to extend and manage; not an easy feat to achieve. Enough praise about this great app, let's get to the book.]]></description>
			<content:encoded><![CDATA[<p><a href="https://www.e-junkie.com/ecom/gb.php?cl=12635&amp;c=ib&amp;aff=50731" target="_blank"><img class="alignright size-full wp-image-641" style="margin: 0 0 5px 5px;" title="wp_200x200" src="http://websitebuildersresource.com/wp-content/uploads/2009/02/wp_200x200.jpg" alt="wp_200x200" width="200" height="200" /></a><a href="http://wordpress.org" target="_blank">WordPress</a> is an impressive open source blog engine and it&#8217;s been a long time since I have been this enthusiastic about a new application. <a href="http://wordpress.org" target="_blank">WordPress</a> is easy to extend and manage; not an easy feat to achieve. Enough praise about this great app, let&#8217;s get to the book.</p>
<p>I know the basics about <a href="http://wordpress.org" target="_blank">Wordpress</a>, built a few blogs, created custom templates and even a few very simple plugins but I find it easier to grasp something new when someone else has written a book filled with real world examples. That is exactly what &#8220;<a href="http://rockablepress.com/books/rockstar-wordpress-designer/" target="_blank">How to be a ROCKSTAR WordPress Designer</a>&#8221; is. The book covers a lot of ground from the basics to what else can WordPress be used for.</p>
<p>The concepts of blog design, how to move your design comps from Photoshop to HTML, explaining &#8220;the loop&#8221;, how to extend your template without writing a plugin, basic plugin building, splitting your template into multiple files, widgets and everything else you need to get from not knowing anything about building a WordPress theme to a ninja in no time.</p>
<p>My favorite part is the final chapter in the book that lists &#8220;<a href="http://rockablepress.com/books/rockstar-wordpress-designer/" target="_blank">Innovative Ways to Use WordPress</a>&#8220;, and the items listed are truly innovative. The diversity of uses show just how powerful yet simple WordPress really is.</p>
<p>This book has answered a lot of questions I had when trying to sift through the WordPress API documentation and even a lot of online examples I had downloaded and reviewed. Collis Ta&#8217;eed and Harley Alexander have done an incredible job writing this book and I can&#8217;t wait to read the others available from the <a href="http://rockablepress.com/" target="_blank">Rockable Press</a>.</p>
<h3>Support My Blog and Pick Up a Copy Today</h3>
<p>Click the button below to be redirected to purchase your copy of <a href="http://rockablepress.com/books/rockstar-wordpress-designer/" target="_blank">How to Be a Rockstar Wordpress Designer</a>.</p>
<p><a class="ec_ejc_thkbx" href="https://www.e-junkie.com/ecom/gb.php?ii=195647&amp;c=cart&amp;aff=50731&amp;ejc=2&amp;cl=12635" target="ej_ejc"><img src="https://www.e-junkie.com/ej/ej_buy_now.gif" border="0" alt="Buy Now" /></a></p>
<h3>Resources</h3>
<p><a href="http://wordpress.org" target="_blank">WordPress</a><br />
<a href="http://rockablepress.com/books/rockstar-wordpress-designer/" target="_blank">How to be a ROCKSTAR WordPress Designer</a><br />
<a href="http://rockablepress.com/" target="_blank">Rockable Press</a><br />
		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F16%2Fhow-to-be-a-rockstar-wordpress-designer-book-review%2F&amp;title=How+to+be+a+Rockstar+Wordpress+Designer+Book+Review"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F16%2Fhow-to-be-a-rockstar-wordpress-designer-book-review%2F&amp;title=How+to+be+a+Rockstar+Wordpress+Designer+Book+Review"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F16%2Fhow-to-be-a-rockstar-wordpress-designer-book-review%2F&amp;title=How+to+be+a+Rockstar+Wordpress+Designer+Book+Review"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F16%2Fhow-to-be-a-rockstar-wordpress-designer-book-review%2F&amp;headline=How+to+be+a+Rockstar+Wordpress+Designer+Book+Review"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=How+to+be+a+Rockstar+Wordpress+Designer+Book+Review&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F16%2Fhow-to-be-a-rockstar-wordpress-designer-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=How+to+be+a+Rockstar+Wordpress+Designer+Book+Review&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F16%2Fhow-to-be-a-rockstar-wordpress-designer-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=How+to+be+a+Rockstar+Wordpress+Designer+Book+Review&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F16%2Fhow-to-be-a-rockstar-wordpress-designer-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=How+to+be+a+Rockstar+Wordpress+Designer+Book+Review&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F16%2Fhow-to-be-a-rockstar-wordpress-designer-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=How+to+be+a+Rockstar+Wordpress+Designer+Book+Review&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F16%2Fhow-to-be-a-rockstar-wordpress-designer-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F16%2Fhow-to-be-a-rockstar-wordpress-designer-book-review%2F&amp;title=How+to+be+a+Rockstar+Wordpress+Designer+Book+Review&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F16%2Fhow-to-be-a-rockstar-wordpress-designer-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F16%2Fhow-to-be-a-rockstar-wordpress-designer-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://websitebuildersresource.com/2009/01/06/slideshowpro-and-wordpress/" title="SlideShowPro and Wordpress">SlideShowPro and Wordpress</a></li><li><a href="http://websitebuildersresource.com/2008/12/08/move-your-wordpress-blog-from-developmentstaging-to-production/" title="Move Your Wordpress Blog from Development/Staging to Production">Move Your Wordpress Blog from Development/Staging to Production</a></li><li><a href="http://websitebuildersresource.com/2008/11/20/create-a-custom-wordpress-page/" title="Create a Custom Wordpress Page">Create a Custom Wordpress Page</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/yp3pUibYRGhltYBSR-Sb-hiBZ_I/0/da"><img src="http://feedads.g.doubleclick.net/~a/yp3pUibYRGhltYBSR-Sb-hiBZ_I/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/yp3pUibYRGhltYBSR-Sb-hiBZ_I/1/da"><img src="http://feedads.g.doubleclick.net/~a/yp3pUibYRGhltYBSR-Sb-hiBZ_I/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebsiteBuildersResource/~4/i8Ke7vHXIyk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2009/02/16/how-to-be-a-rockstar-wordpress-designer-book-review/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		<feedburner:origLink>http://websitebuildersresource.com/2009/02/16/how-to-be-a-rockstar-wordpress-designer-book-review/</feedburner:origLink></item>
		<item>
		<title>Tick My Boxes Book Review</title>
		<link>http://feedproxy.google.com/~r/WebsiteBuildersResource/~3/jkXJs3iwUC4/</link>
		<comments>http://websitebuildersresource.com/2009/02/14/tick-my-boxes-book-review/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 00:45:35 +0000</pubDate>
		<dc:creator>Jason Maletsky</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Project Management]]></category>
		<category><![CDATA[web site]]></category>

		<guid isPermaLink="false">http://websitebuildersresource.com/?p=614</guid>
		<description><![CDATA[Building web sites requires a lot of tasks to be completed for a successful launch. Even the most basic static web site requires a lot to do.]]></description>
			<content:encoded><![CDATA[<p>Building web sites requires a lot of tasks to be completed for a successful launch. Even the most basic static web site requires a lot to do. That list will become much longer if the site requires programming such as dynamic content served from a content management system, blog engine, custom web application, 3rd party data integration, eCommerce, etc, etc.</p>
<p><a href="http://www.astray.com/" target="_blank">Leon Brocard</a> (<a href="http://use.perl.org/~acme/journal" target="_blank">Blog</a>) and <a href="http://www.zible.com/" target="_blank">Jake Brumby</a> (<a href="http://www.mrmonkey.com/" target="_blank">Mr Monkey</a>) have done a great job consolidating some of the most important parts of the web site/web application creation process in an easy to read 85 page book. Everything from start to finish is included from planning, creating an outline, managing how to get the project completed, technologies to use, building the site, best practices and much more.</p>
<p>The book is to the point and does not include examples for every point covered but that&#8217;s not the point of the book. It&#8217;s to give you an idea of what you should be doing to ensure that your next web site project goes smoothly. Even the most seasoned web designer or web developer can benefit from this book and I recommend that you <a href="http://www.tickmyboxes.com/" target="_blank">pick up a copy</a>.</p>
<h3>FYI</h3>
<p>There is a spreadsheet version of the tick list at the end of the book available by request. Send an email to <a href="mailto:authors@tickmyboxes.com">authors@tickmyboxes.com</a> and request your copy. I have also been told that the authors are planning to create an online version of the checklist for book owners.<br />
		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F14%2Ftick-my-boxes-book-review%2F&amp;title=Tick+My+Boxes+Book+Review"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F14%2Ftick-my-boxes-book-review%2F&amp;title=Tick+My+Boxes+Book+Review"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F14%2Ftick-my-boxes-book-review%2F&amp;title=Tick+My+Boxes+Book+Review"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F14%2Ftick-my-boxes-book-review%2F&amp;headline=Tick+My+Boxes+Book+Review"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=Tick+My+Boxes+Book+Review&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F14%2Ftick-my-boxes-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=Tick+My+Boxes+Book+Review&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F14%2Ftick-my-boxes-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=Tick+My+Boxes+Book+Review&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F14%2Ftick-my-boxes-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=Tick+My+Boxes+Book+Review&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F14%2Ftick-my-boxes-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=Tick+My+Boxes+Book+Review&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F14%2Ftick-my-boxes-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F14%2Ftick-my-boxes-book-review%2F&amp;title=Tick+My+Boxes+Book+Review&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F14%2Ftick-my-boxes-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F14%2Ftick-my-boxes-book-review%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>No Related Post</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/psqPtoIkPTYuE0e5WlLrurNoH5Q/0/da"><img src="http://feedads.g.doubleclick.net/~a/psqPtoIkPTYuE0e5WlLrurNoH5Q/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/psqPtoIkPTYuE0e5WlLrurNoH5Q/1/da"><img src="http://feedads.g.doubleclick.net/~a/psqPtoIkPTYuE0e5WlLrurNoH5Q/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebsiteBuildersResource/~4/jkXJs3iwUC4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2009/02/14/tick-my-boxes-book-review/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://websitebuildersresource.com/2009/02/14/tick-my-boxes-book-review/</feedburner:origLink></item>
		<item>
		<title>jQuery &lt;select&gt; Manipulation, Multiple Selects with JSON, Set Defaults, Oh My</title>
		<link>http://feedproxy.google.com/~r/WebsiteBuildersResource/~3/sMpGQP6_y6w/</link>
		<comments>http://websitebuildersresource.com/2009/02/07/jquery-select-manipulation-multiple-selects-json-default/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 18:12:32 +0000</pubDate>
		<dc:creator>Jason Maletsky</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://websitebuildersresource.com/?p=599</guid>
		<description><![CDATA[The following examples cover some of the basics when working with a <select> HTML element. Multiple selects, set multiple selects after post and set the default selected value on page load.]]></description>
			<content:encoded><![CDATA[<p>The following examples cover some of the basics when working with a &lt;select&gt; HTML element.</p>
<h2>Fill multiple selects with JSON data onchange</h2>
<p>This example fills a second (or more) &lt;select&gt; HTML element with data from a JSON request. Useful in those situations where the selection of the previous &lt;select&gt; element determines what needs to go in the next &lt;select&gt; such as car manufacturers, makes, year, models, etc.</p>
<p><a href="http://websitebuildersresource.com/demos/jquery-select-html-manipulation/multiple.php" target="_blank">View Example</a></p>
<h2>Fill multiple selects with JSON data onchange and set the default for secondary &lt;select&gt; on post</h2>
<p>This exmaple is similar to the above but by default the second &lt;select&gt; will lose it&#8217;s selected value after a POST. This example will remedy that problem.</p>
<p><a href="http://websitebuildersresource.com/demos/jquery-select-html-manipulation/multiple-post.php" target="_blank">View Example</a></p>
<h2>Set the default selected value for a &lt;select&gt; HTML element onload</h2>
<p>This example will show how to set the default selected value on page load.</p>
<p><a href="http://websitebuildersresource.com/demos/jquery-select-html-manipulation/default.php" target="_blank">View Example</a></p>
<h2>Download</h2>
<p><a href="http://websitebuildersresource.com/wp-content/uploads/2009/02/jquery-select-html-manipulation.zip">Download source code for all examples above</a><br />
		<script type="text/javascript"><!--
            google_ad_client = "pub-1943674323840609";
            google_ad_slot = "4085228747";
            google_ad_width = 468;
            google_ad_height = 60;
            //-->
        </script><br />
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<div class="lightsocial_container"><a href="http://digg.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F07%2Fjquery-select-manipulation-multiple-selects-json-default%2F&amp;title=jQuery+%26lt%3Bselect%26gt%3B+Manipulation%2C+Multiple+Selects+with+JSON%2C+Set+Defaults%2C+Oh+My"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F07%2Fjquery-select-manipulation-multiple-selects-json-default%2F&amp;title=jQuery+%26lt%3Bselect%26gt%3B+Manipulation%2C+Multiple+Selects+with+JSON%2C+Set+Defaults%2C+Oh+My"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F07%2Fjquery-select-manipulation-multiple-selects-json-default%2F&amp;title=jQuery+%26lt%3Bselect%26gt%3B+Manipulation%2C+Multiple+Selects+with+JSON%2C+Set+Defaults%2C+Oh+My"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F07%2Fjquery-select-manipulation-multiple-selects-json-default%2F&amp;headline=jQuery+%26lt%3Bselect%26gt%3B+Manipulation%2C+Multiple+Selects+with+JSON%2C+Set+Defaults%2C+Oh+My"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a href="http://www.dzone.com/links/add.html?title=jQuery+%26lt%3Bselect%26gt%3B+Manipulation%2C+Multiple+Selects+with+JSON%2C+Set+Defaults%2C+Oh+My&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F07%2Fjquery-select-manipulation-multiple-selects-json-default%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/sharer.php?t=jQuery+%26lt%3Bselect%26gt%3B+Manipulation%2C+Multiple+Selects+with+JSON%2C+Set+Defaults%2C+Oh+My&amp;u=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F07%2Fjquery-select-manipulation-multiple-selects-json-default%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a href="http://delicious.com/save?title=jQuery+%26lt%3Bselect%26gt%3B+Manipulation%2C+Multiple+Selects+with+JSON%2C+Set+Defaults%2C+Oh+My&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F07%2Fjquery-select-manipulation-multiple-selects-json-default%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a href="http://www.dotnetkicks.com/kick/?title=jQuery+%26lt%3Bselect%26gt%3B+Manipulation%2C+Multiple+Selects+with+JSON%2C+Set+Defaults%2C+Oh+My&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F07%2Fjquery-select-manipulation-multiple-selects-json-default%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a href="http://dotnetshoutout.com/Submit?title=jQuery+%26lt%3Bselect%26gt%3B+Manipulation%2C+Multiple+Selects+with+JSON%2C+Set+Defaults%2C+Oh+My&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F07%2Fjquery-select-manipulation-multiple-selects-json-default%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F07%2Fjquery-select-manipulation-multiple-selects-json-default%2F&amp;title=jQuery+%26lt%3Bselect%26gt%3B+Manipulation%2C+Multiple+Selects+with+JSON%2C+Set+Defaults%2C+Oh+My&amp;summary=&amp;source="><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F07%2Fjquery-select-manipulation-multiple-selects-json-default%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwebsitebuildersresource.com%2F2009%2F02%2F07%2Fjquery-select-manipulation-multiple-selects-json-default%2F"><img src="http://websitebuildersresource.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;</div><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://websitebuildersresource.com/2010/01/24/php-country-array/" title="PHP Country Array">PHP Country Array</a></li><li><a href="http://websitebuildersresource.com/2010/01/04/blank-cdata-with-php-and-simplexml/" title="Blank CDATA with PHP and SimpleXML">Blank CDATA with PHP and SimpleXML</a></li><li><a href="http://websitebuildersresource.com/2009/02/05/copy-form-input-data-to-another-input-field-with-jquery/" title="Copy Form Input Data to Another Input Field with jQuery">Copy Form Input Data to Another Input Field with jQuery</a></li><li><a href="http://websitebuildersresource.com/2009/01/08/jquery-show-and-tell/" title="jQuery Show and Tell">jQuery Show and Tell</a></li><li><a href="http://websitebuildersresource.com/2009/01/04/dynamic-javascript-variables/" title="Dynamic Javascript Variables">Dynamic Javascript Variables</a></li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/Osm3lXzee_zaH3ITH4AnIg3X9dk/0/da"><img src="http://feedads.g.doubleclick.net/~a/Osm3lXzee_zaH3ITH4AnIg3X9dk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Osm3lXzee_zaH3ITH4AnIg3X9dk/1/da"><img src="http://feedads.g.doubleclick.net/~a/Osm3lXzee_zaH3ITH4AnIg3X9dk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebsiteBuildersResource/~4/sMpGQP6_y6w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://websitebuildersresource.com/2009/02/07/jquery-select-manipulation-multiple-selects-json-default/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://websitebuildersresource.com/2009/02/07/jquery-select-manipulation-multiple-selects-json-default/</feedburner:origLink></item>
	</channel>
</rss>
