<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>bradstrickland.com - Web Design, Development and Apple. &#187; PHP</title>
	<atom:link href="http://www.bradstrickland.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bradstrickland.com</link>
	<description>Web Design, Development and Apple</description>
	<lastBuildDate>Tue, 31 Jan 2012 14:34:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Quick Tip: A 4 Minute Crash-Course in WordPress Custom Fields  &#124; Nettuts+</title>
		<link>http://www.bradstrickland.com/2010/05/quick-tip-a-4-minute-crash-course-in-wordpress-custom-fields-nettuts/</link>
		<comments>http://www.bradstrickland.com/2010/05/quick-tip-a-4-minute-crash-course-in-wordpress-custom-fields-nettuts/#comments</comments>
		<pubDate>Thu, 06 May 2010 11:30:13 +0000</pubDate>
		<dc:creator>brad_strickland</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.bradstrickland.com/?p=558</guid>
		<description><![CDATA[(Via Nettuts+.)]]></description>
			<content:encoded><![CDATA[<p><object width="500" height="332"><param name="movie" value="http://www.youtube.com/v/fTWFau1qhLU&#038;color1=0x3a3a3a&#038;color2=0x999999&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/fTWFau1qhLU&#038;color1=0x3a3a3a&#038;color2=0x999999&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="500" height="332"></embed></object></p>
<p>(Via <a href="http://net.tutsplus.com/">Nettuts+</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bradstrickland.com/2010/05/quick-tip-a-4-minute-crash-course-in-wordpress-custom-fields-nettuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beginning Programming Productivity Tips</title>
		<link>http://www.bradstrickland.com/2008/10/beginning-programming-productivity-tips/</link>
		<comments>http://www.bradstrickland.com/2008/10/beginning-programming-productivity-tips/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 02:55:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Lists]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bradstrickland.com/?p=340</guid>
		<description><![CDATA[Starting programming or simply refining your work flow can be a daunting task. Everyone has their set way of working and it&#8217;s the way that works best for them. This is a list of suggestions that can help coders of all levels and languages. 1. Start a code library and find a fast way to [...]]]></description>
			<content:encoded><![CDATA[<p>Starting programming or simply refining your work flow can be a daunting task. Everyone has their set way of working and it&#8217;s the way that works best for them. This is a list of suggestions that can help coders of all levels and languages.</p>
<p> <span id="more-340"></span></p>
<h2>1. Start a code library and find a fast way to access it.</h2>
<p>If you program and are not the strongest typist in the world. An option that will speed up your productive. Create a code library &#8220;sometimes referred to as snippets&#8221; of the code blocks you use the most.</p>
<p>I find this really speeds up production when you don&#8217;t have to repeatedly type the same code over and over again. When working in PHP having not to type.</p>
<p><span class="code">$connection = mysql_connect(&#8220;localhost&#8221;,&#8221;root&#8221;,&#8221;password&#8221;);<br />
@mysql_select_db(&#8220;database&#8221;, $connection);<br />
$query = &#8220;INSERT INTO application (first_name, last_name, address, city, state, zipcode, email, birthday, home_phone, other_phone, home, time_at_address, payment, employment, employer, income, ssn, bankrupt, cosigner, confirmation, signup, timestamp) VALUES (&#8216;$firstname&#8217;, &#8216;$lastname&#8217;, &#8216;$address&#8217;, &#8216;$city&#8217;, &#8216;$state&#8217;, &#8216;$zipcode&#8217;, &#8216;$email&#8217;, &#8216;$birthdate&#8217;, &#8216;$phone1&#8242;, &#8216;$phone2&#8242;, &#8216;$ownrent&#8217;, &#8216;$time_at_address&#8217;, &#8216;$payment&#8217;, &#8216;$employment&#8217;, &#8216;$employer&#8217;, &#8216;$income&#8217;, &#8216;$ssn&#8217;, &#8216;$bankrupt&#8217;, &#8216;$cosign&#8217;, &#8216;$confirmation&#8217;, &#8216;$optin&#8217;, &#8216;$timestamp&#8217;)&#8221;;</span></p>
<p>and just typing &#8220;php_connect_insert&#8221; is a real timesaver. Sure your going to have to take some of column names and values out or change them. But the structure and form I use and can easily navigate is instantly there.</p>
<p>Applications like Panic&#8217;s Coda, Micromate&#8217;s TextMate and Adobe Dreamweaver have this indispensable feature with a fast way to access it. You could also use a program like TextExpander by Smile on my Mac software that stores the snippets and makes them available system wide or to only the applications you designate.</p>
<h2>2. Get good and know the language.</h2>
<p>Ok this is blatantly obvious. The web is a fantastic resource to get you over a programming speed bump. But finding a good example of exactly what your trying to do takes time. There is no replacing being up on your programming chops to rocket though the code and get the project done. Developing yourself will always pay ten fold over what equipment you use.</p>
<h2>3. Find someone that knows more about programming than you and find someone that knows less.</h2>
<p>Having someone around you can bounce ideas and problems off of that has been in the game longer than you is one of the best ways to learn. Once learned teach that new info to the person who knows less than you. You&#8217;ll find that the process of teaching allows you to retain more of what you have learned than if you had not shared it.</p>
<h2>4. Find a few easy to understand and easy to navigate sites for syntax reference.</h2>
<p>I comb through <a href="http://www.php.net/">php.net</a> and <a href="http://www.mysql.com/">mySQL.com</a> sites on a regular basis. Those are the languages I use most and I was lucky that both these sites have tons of notes and forums. I love actionscript. But adobe&#8217;s site is the last place I go for help with it. It&#8217;s slow and the forums are not well trafficked. <a href="http://www.flashkit.com/">Flashkit.com</a> and <a href="http://www.actionscript.org/">Actionscript.org</a> are much more useful.</p>
<p>So that‚Äôs my list of programming tips. Comment below and add your own tip to the list.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bradstrickland.com/2008/10/beginning-programming-productivity-tips/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Find a files server path when programming in PHP</title>
		<link>http://www.bradstrickland.com/2008/03/find-a-files-server-path-when-programming-in-php/</link>
		<comments>http://www.bradstrickland.com/2008/03/find-a-files-server-path-when-programming-in-php/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 13:00:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bradstrickland.com/2008/03/23/find-a-files-server-path-when-programming-in-php/</guid>
		<description><![CDATA[If you ever need to find a files path when programming in PHP. All you need to do is drop the below code in a text file called path.php.

< ?php $p = getcwd(); echo $p; ?>

Put it in the same directory as the file whose path you need and go to it in your web browser.

http://www._yourwebname_.com/_thedirectorythefileisin_/path.php

You will get back something like this.

C:\Websites\_yourwebname_\_thedirectorythefileisin_

So now you know the server path to the file]]></description>
			<content:encoded><![CDATA[<p>If you ever need to find a files path when programming in PHP. All you need to do is drop the below code in a text file called path.php.</p>
<p>&#60;?php $p = getcwd(); echo $p; ?&#62;</p>
<p>Put it in the same directory as the file whose path you need and go to it in your web browser.</p>
<blockquote><p>http://www._yourwebname_.com/_thedirectorythefileisin_/path.php</p></blockquote>
<p>You will get back something like this.</p>
<blockquote><p>C:\Websites\_yourwebname_\_thedirectorythefileisin_</p></blockquote>
<p>So now you know the server path to the file you need.</p>
<p>Simple.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bradstrickland.com/2008/03/find-a-files-server-path-when-programming-in-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

