<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Shorthand PHP IF/ELSE Statements = much shorter code!</title>
	<atom:link href="http://www.nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/</link>
	<description>A coders playground.</description>
	<lastBuildDate>Wed, 01 Feb 2012 10:04:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Landon Deaderick</title>
		<link>http://www.nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/comment-page-1/#comment-287261</link>
		<dc:creator>Landon Deaderick</dc:creator>
		<pubDate>Wed, 24 Aug 2011 11:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/#comment-287261</guid>
		<description>A formidable share, I simply given this onto a colleague who was doing just a little analysis on this. And he actually bought me breakfast as a result of I found it for him.. smile. So let me reword that: Thnx for the treat! However yeah Thnkx for spending the time to debate this, I feel strongly about it and love reading more on this topic. If possible, as you turn into experience, would you mind updating your blog with more particulars? It is extremely useful for me. Large thumb up for this blog publish!</description>
		<content:encoded><![CDATA[<p>A formidable share, I simply given this onto a colleague who was doing just a little analysis on this. And he actually bought me breakfast as a result of I found it for him.. smile. So let me reword that: Thnx for the treat! However yeah Thnkx for spending the time to debate this, I feel strongly about it and love reading more on this topic. If possible, as you turn into experience, would you mind updating your blog with more particulars? It is extremely useful for me. Large thumb up for this blog publish!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Anderson</title>
		<link>http://www.nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/comment-page-1/#comment-181577</link>
		<dc:creator>Josh Anderson</dc:creator>
		<pubDate>Tue, 15 Feb 2011 10:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/#comment-181577</guid>
		<description>to drooh:

&quot;Also, this one is useful for forms checking if value is set or not
$rad = isset($_POST[&#039;rad&#039;])?$_POST[&#039;rad&#039;]:NULL;&quot;

should be :

Also, this one is useful for forms checking if value is set or not
$rad = (isset($_POST[&#039;rad&#039;]) ? $_POST[&#039;rad&#039;] : NULL);</description>
		<content:encoded><![CDATA[<p>to drooh:</p>
<p>&#8220;Also, this one is useful for forms checking if value is set or not<br />
$rad = isset($_POST['rad'])?$_POST['rad']:NULL;&#8221;</p>
<p>should be :</p>
<p>Also, this one is useful for forms checking if value is set or not<br />
$rad = (isset($_POST['rad']) ? $_POST['rad'] : NULL);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drooh</title>
		<link>http://www.nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/comment-page-1/#comment-62759</link>
		<dc:creator>drooh</dc:creator>
		<pubDate>Sat, 17 Jul 2010 03:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/#comment-62759</guid>
		<description>Need to include selected=&quot;selected&quot; to be valid markup

&lt;input type=&#039;radio&#039; name=&#039;gender&#039; value=&#039;m&#039; &gt;Male
&lt;input type=&#039;radio&#039; name=&#039;gender&#039; value=&#039;f&#039; &gt;Female

Also, this one is useful for forms checking if value is set or not
$rad = isset($_POST[&#039;rad&#039;])?$_POST[&#039;rad&#039;]:NULL;</description>
		<content:encoded><![CDATA[<p>Need to include selected=&#8221;selected&#8221; to be valid markup</p>
<p>&lt;input type=&#039;radio&#039; name=&#039;gender&#039; value=&#039;m&#039; &gt;Male<br />
&lt;input type=&#039;radio&#039; name=&#039;gender&#039; value=&#039;f&#039; &gt;Female</p>
<p>Also, this one is useful for forms checking if value is set or not<br />
$rad = isset($_POST['rad'])?$_POST['rad']:NULL;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://www.nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/comment-page-1/#comment-25811</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Thu, 10 Sep 2009 08:35:11 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/#comment-25811</guid>
		<description>Can this code be extended beyond a single condition check?</description>
		<content:encoded><![CDATA[<p>Can this code be extended beyond a single condition check?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: royston</title>
		<link>http://www.nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/comment-page-1/#comment-24662</link>
		<dc:creator>royston</dc:creator>
		<pubDate>Tue, 01 Sep 2009 12:23:11 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/#comment-24662</guid>
		<description>Dear Jamie 
Got ur callendar code and was trying to run it but getting the following errors
Notice: Undefined index: nodstrumCalendarV2 in C:\wamp\www\mysqlCalendar_1_2\rpc.php on line 89
  Login
Mon
Tue
Wed
Thur
Fri
Sat
Sun
 

Notice: Undefined index: nodstrumCalendarV2 in C:\wamp\www\mysqlCalendar_1_2\rpc.php on line 143

Notice: Undefined variable: tTop in C:\wamp\www\mysqlCalendar_1_2\rpc.php on line 172
1

plz try and help</description>
		<content:encoded><![CDATA[<p>Dear Jamie<br />
Got ur callendar code and was trying to run it but getting the following errors<br />
Notice: Undefined index: nodstrumCalendarV2 in C:\wamp\www\mysqlCalendar_1_2\rpc.php on line 89<br />
  Login<br />
Mon<br />
Tue<br />
Wed<br />
Thur<br />
Fri<br />
Sat<br />
Sun</p>
<p>Notice: Undefined index: nodstrumCalendarV2 in C:\wamp\www\mysqlCalendar_1_2\rpc.php on line 143</p>
<p>Notice: Undefined variable: tTop in C:\wamp\www\mysqlCalendar_1_2\rpc.php on line 172<br />
1</p>
<p>plz try and help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shorthand PHP IF/ELSE Statements = much shorter code &#171; Kishore&#8217;s Bookmarks</title>
		<link>http://www.nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/comment-page-1/#comment-8301</link>
		<dc:creator>Shorthand PHP IF/ELSE Statements = much shorter code &#171; Kishore&#8217;s Bookmarks</dc:creator>
		<pubDate>Wed, 29 Oct 2008 15:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/#comment-8301</guid>
		<description>[...] via Shorthand PHP IF/ELSE Statements = much shorter code! - Nodstrum [...]</description>
		<content:encoded><![CDATA[<p>[...] via Shorthand PHP IF/ELSE Statements = much shorter code! &#8211; Nodstrum [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryanisimo</title>
		<link>http://www.nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/comment-page-1/#comment-4915</link>
		<dc:creator>Bryanisimo</dc:creator>
		<pubDate>Wed, 24 Sep 2008 15:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/#comment-4915</guid>
		<description>Hi, do you have a little error after &quot;And the all important Explanation!&quot;, did you write:

echo ($myGender = ‘male’ ? ‘ selected’ : ”);

and should be:

echo ($myGender == ‘male’ ? ‘ selected’ : &#039;&#039;);

Beacuse $myGender = ‘male’ ever is true and ever you got &#039;selected&#039;. Have a nice day =)</description>
		<content:encoded><![CDATA[<p>Hi, do you have a little error after &#8220;And the all important Explanation!&#8221;, did you write:</p>
<p>echo ($myGender = ‘male’ ? ‘ selected’ : ”);</p>
<p>and should be:</p>
<p>echo ($myGender == ‘male’ ? ‘ selected’ : &#8221;);</p>
<p>Beacuse $myGender = ‘male’ ever is true and ever you got &#8216;selected&#8217;. Have a nice day =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dum</title>
		<link>http://www.nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/comment-page-1/#comment-4054</link>
		<dc:creator>dum</dc:creator>
		<pubDate>Tue, 16 Sep 2008 11:39:46 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/#comment-4054</guid>
		<description>this is fantastic</description>
		<content:encoded><![CDATA[<p>this is fantastic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Weasle</title>
		<link>http://www.nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/comment-page-1/#comment-1967</link>
		<dc:creator>Weasle</dc:creator>
		<pubDate>Sat, 16 Aug 2008 20:39:18 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/#comment-1967</guid>
		<description>This is just what I was searching for - thanks for explaining it. I want to shorten my code as MUCH as possible, and while it may only shave a few microseconds off processing time to use shorthand like this, if you&#039;re running hundreds of processes a day - all those microseconds add up.</description>
		<content:encoded><![CDATA[<p>This is just what I was searching for &#8211; thanks for explaining it. I want to shorten my code as MUCH as possible, and while it may only shave a few microseconds off processing time to use shorthand like this, if you&#8217;re running hundreds of processes a day &#8211; all those microseconds add up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shopping cart</title>
		<link>http://www.nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/comment-page-1/#comment-1587</link>
		<dc:creator>shopping cart</dc:creator>
		<pubDate>Tue, 15 Jul 2008 12:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://nodstrum.com/2008/02/14/shorthand-php-ifelse-statements-much-shorter-code/#comment-1587</guid>
		<description>Thanks, I have used conditional operator in C many times but not in PHP. Now I&#039;ll try it. It&#039;s really save space and time.</description>
		<content:encoded><![CDATA[<p>Thanks, I have used conditional operator in C many times but not in PHP. Now I&#8217;ll try it. It&#8217;s really save space and time.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

