<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1012694" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1012694</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/echoing-php-vars-html#comment-1073484</link>
    <description> &lt;p&gt;Thank you both.  Rob, I&#039;ve gone with version two....&lt;br /&gt;
and as for session variables - well, they just whizzed right by, but thanks for the thought.&lt;/p&gt;
&lt;p&gt;- Carolyn&lt;/p&gt;
 </description>
     <pubDate>Fri, 03 Nov 2000 06:39:09 +0000</pubDate>
 <dc:creator>SoftWhiteWares</dc:creator>
 <guid isPermaLink="false">comment 1073484 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/echoing-php-vars-html#comment-1073393</link>
    <description> &lt;p&gt;this may be too advanced, but have you thought about haveing users &#039;login&#039; and &#039;logout&#039; and use session variables to store the username and password?&lt;/p&gt;
 </description>
     <pubDate>Tue, 31 Oct 2000 06:37:06 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1073393 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/echoing-php-vars-html#comment-1073390</link>
    <description> &lt;p&gt;Almost &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;br /&gt;
PHP is great because you can basically &#039;end&#039; and &#039;start&#039; it whenever you want inside a .php(3) file.&lt;/p&gt;
&lt;p&gt;So&lt;br /&gt;
just using:&lt;br /&gt;
&quot;&amp;gt;&lt;br /&gt;
this would &#039;start&#039; PHP, print $username, and than &#039;end&#039; it.&lt;/p&gt;
&lt;p&gt;So you could have:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;?&lt;br /&gt;$username = &amp;#039;rob&amp;#039;;&lt;br /&gt;?&amp;gt;&lt;br /&gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;name&amp;quot; value=&amp;quot;&amp;lt;?echo $username?&amp;gt;&amp;quot;&amp;gt; &lt;br /&gt;&amp;lt;?&lt;br /&gt;more&lt;br /&gt;php&lt;br /&gt;code&lt;br /&gt;?&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;You could also use&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;?&lt;br /&gt;$username = &amp;#039;rob&amp;#039;;&lt;br /&gt;echo &amp;quot;&amp;lt;input type=\&amp;quot;text\&amp;quot; name=\&amp;quot;name\&amp;quot; value=\&amp;quot;$username\&amp;quot;&amp;gt;&amp;quot;; &lt;br /&gt;?&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
But the prior method is much easier I find (especially if you are printing a lot of html)&lt;/p&gt;
&lt;p&gt;[Edited by Rob Pengelly on 10-30-2000 at 09:33 PM]&lt;/p&gt;
 </description>
     <pubDate>Tue, 31 Oct 2000 01:55:21 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1073390 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/echoing-php-vars-html#comment-1073387</link>
    <description> &lt;p&gt;Thanks so much, Rob.&lt;/p&gt;
&lt;p&gt;That would make this line in full read:&lt;/p&gt;
&lt;p&gt;echo &quot;&quot;&amp;gt;\n&quot;;&lt;/p&gt;
&lt;p&gt;My friends and I sure appreciate your help.&lt;/p&gt;
&lt;p&gt;- Carolyn&lt;/p&gt;
 </description>
     <pubDate>Tue, 31 Oct 2000 00:36:45 +0000</pubDate>
 <dc:creator>SoftWhiteWares</dc:creator>
 <guid isPermaLink="false">comment 1073387 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/echoing-php-vars-html#comment-1073386</link>
    <description> &lt;p&gt;You could do something like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;?&lt;br /&gt;
php&lt;br /&gt;
code&lt;br /&gt;
here&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&quot;&amp;gt;&lt;br /&gt;
&amp;lt;?&lt;br /&gt;
more&lt;br /&gt;
php&lt;br /&gt;
code&lt;br /&gt;
?&amp;gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 31 Oct 2000 00:02:56 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1073386 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
