<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1046433" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1046433</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Since you say they are</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/php-submit-form-issues#comment-1248172</link>
    <description> &lt;p&gt;Since you say they are logging in an out, I&#039;ll assume you already have some type of user account system in place.&lt;/p&gt;
&lt;p&gt;When they submit the item, have it save their userid with the article. Then when they log back in, look it up via their user ID, then display that data in the form. assuming below $aryArticle contains all the fields from the database:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;txtTitle&amp;quot; value=&amp;quot;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;htmlspecialchars&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$aryArticle&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Title&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&amp;quot; /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;fieldset&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;legend&amp;gt;Status&amp;lt;/legend&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;radStatus&amp;quot; value=&amp;quot;Published&amp;quot; &lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$aryArticle&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Status&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]==&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Published&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)?&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;selected=&quot;selected&quot;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt; /&amp;gt; Published&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;radStatus&amp;quot; value=&amp;quot;Draft&amp;quot; &lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$aryArticle&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Status&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]==&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Draft&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)?&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;selected=&quot;selected&quot;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt; /&amp;gt; Draft &amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;/fieldset&amp;gt;&lt;br /&gt;Body: &amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;textarea name=&amp;quot;txtBody&amp;quot; cols=120 rows=20&amp;gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;htmlspecialchars&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$aryArticle&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Body&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&amp;lt;/textarea&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Sat, 03 Apr 2010 15:20:02 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1248172 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
