<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>PHP syntax error ??</title>
        <link>https://interactivetools.com/forum/forum-posts.php?PHP-syntax-error-80300</link>
        <description></description>
        <pubDate>Tue, 17 Mar 2026 08:44:50 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;PHP-syntax-error-80300" rel="self" type="application/rss+xml" />

                <item>
          <title>PHP syntax error ??</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237720#post2237720</link>
          <description><![CDATA[<p>Great ! Thank you.</p>]]></description>
          <pubDate>Sun, 15 Nov 2015 23:48:13 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237720#post2237720</guid>
        </item>
                <item>
          <title>PHP syntax error ??</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237719#post2237719</link>
          <description><![CDATA[<p>Try This</p>
<p><code>&lt;?php<br /><br />if($_SESSION['pass'] != $paswoord_toegangRecord['content']) {<br />echo "Bad password!";<br />}<br />else {<br />?&gt;</code></p>
]]></description>
          <pubDate>Fri, 13 Nov 2015 04:51:10 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237719#post2237719</guid>
        </item>
                <item>
          <title>PHP syntax error ??</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237718#post2237718</link>
          <description><![CDATA[<p>Hi,</p>
<p>I can't figure out why I get a php syntax error with this code:</p>
<p>&lt;?php</p>
<p>if($_SESSION['pass'] != "echo htmlencode($paswoord_toegangRecord['content'])") {<br /> echo "Bad password!";<br />}<br />else {<br />?&gt;</p>
<p>I presume it must be a problem with the embedded quotes... ??</p>
<p>Because I don't have any problems when I use the code without the echo:</p>
<p>&lt;?php<br />if($_SESSION['pass'] != "admin") {<br /> echo "Bad password!";<br />}<br />else {<br />?&gt;</p>]]></description>
          <pubDate>Fri, 13 Nov 2015 02:33:41 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237718#post2237718</guid>
        </item>
              </channel>
    </rss>
  