<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Tue May 21, 2013 7:51 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Tue May 21, 2013 7:51 pm</pubDate>
  <lastBuildDate>Tue May 21, 2013 7:51 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: [PHP] if (this but not that)</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=98548#98548</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=23984'&gt;bobthebob1234&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Apr 14, 2011 8:39 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Happens to the best of us  &lt;img src=&quot;images/smiles/icon_biggrin.gif&quot; alt=&quot;Very Happy&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=98548#98548</comments>
                                        <author>bobthebob1234</author>
                                        <pubDate>Thu Apr 14, 2011 8:39 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=98548#98548</guid>
                                      </item>
                                      <item>
                                        <title>Re: [PHP] if (this but not that)</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=98547#98547</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=21079'&gt;leke&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Apr 14, 2011 7:03 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Thanks Bob, and now that my brain is working again, I realised I should have searched the manual for boolean -- but that didn't occur to me at the time &lt;img src=&quot;images/smiles/icon_redface.gif&quot; alt=&quot;Embarassed&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=98547#98547</comments>
                                        <author>leke</author>
                                        <pubDate>Thu Apr 14, 2011 7:03 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=98547#98547</guid>
                                      </item>
                                      <item>
                                        <title>Re: [PHP] if (this but not that)</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=98546#98546</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=23984'&gt;bobthebob1234&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Apr 14, 2011 5:57 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      if(value1 &amp;amp;&amp;amp; !value2) {&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
??</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=98546#98546</comments>
                                        <author>bobthebob1234</author>
                                        <pubDate>Thu Apr 14, 2011 5:57 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=98546#98546</guid>
                                      </item>
                                      <item>
                                        <title>[PHP] if (this but not that)</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=98545#98545</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=21079'&gt;leke&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Apr 14, 2011 5:26 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I'm having some kind of mental block (blames PHP) and can't think how to test true for something and false for something else. &lt;br /&gt;
&lt;br /&gt;
maybe like:&lt;br /&gt;
if (value1 == true &amp;amp;&amp;amp; value2 == false) {run code;}&lt;br /&gt;
&lt;br /&gt;
...or am I going about it the wrong way?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=98545#98545</comments>
                                        <author>leke</author>
                                        <pubDate>Thu Apr 14, 2011 5:26 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=98545#98545</guid>
                                      </item></channel></rss>