<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1024139" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1024139</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/simplest-way-webpage-updating#comment-1148522</link>
    <description> &lt;p&gt;hey thx all for your replys, i ll give it a go, however i ve spoke to the my client who does have dreamweaver already installed, they will update it themselves. &lt;/p&gt;
&lt;p&gt;I have just been playing around with bloggers and like some feedbacks on this , seems pretty easy to use .&lt;/p&gt;
 </description>
     <pubDate>Mon, 29 Mar 2004 17:51:31 +0000</pubDate>
 <dc:creator>starter</dc:creator>
 <guid isPermaLink="false">comment 1148522 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/simplest-way-webpage-updating#comment-1148074</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$dbh&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;mysql_connect &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;localhost\&quot;, \&quot;username\&quot;, \&quot;password\&quot;) ...&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;localhost&lt;/strong&gt; is the name of the server where the mySQL is running&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;username&lt;/strong&gt; is the username used to access the mySQL server&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;password&lt;/strong&gt; is the password used to access teh mySQL server&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;mysql_select_db &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;database_table\&quot;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;database_table&lt;/strong&gt; is the name of the actual database to use on the server&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$sql &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;mysql_query&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;INSERT INTO data SET\&quot; ...&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = mysql_query(\&quot;SELECT * FROM data ORDER BY id DESC\&quot;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;data&lt;/strong&gt; in both of these lines is the table that you are accessing within the database named in the &lt;strong&gt;mysql_select_db()&lt;/strong&gt; command.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Tue, 23 Mar 2004 17:42:00 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1148074 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/simplest-way-webpage-updating#comment-1148067</link>
    <description> &lt;p&gt;That script looks good, Eskater. I am a php newbie (learning as I&#039;m going) and I curious about the syntax of your script.&lt;/p&gt;
&lt;p&gt;I dont see where you declare what databse and/or table you are connecting to; am I looking at something wrong?&lt;/p&gt;
&lt;p&gt;Also, the GET or POST methods should work the same, correct?&lt;/p&gt;
 </description>
     <pubDate>Tue, 23 Mar 2004 14:20:14 +0000</pubDate>
 <dc:creator>mjs416</dc:creator>
 <guid isPermaLink="false">comment 1148067 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/simplest-way-webpage-updating#comment-1148028</link>
    <description> &lt;p&gt;If you want to make it alot more complex than it has to be, yes...&lt;/p&gt;
&lt;p&gt;do this&lt;br /&gt;
---Your Form Submission Script---&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$dbh&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;mysql_connect &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;localhost\&quot;, \&quot;username\&quot;, \&quot;password\&quot;) or die (&#039;Cannot connect to the database because: &#039; . mysql_error());&lt;br /&gt;mysql_select_db (\&quot;database_table\&quot;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = mysql_query(\&quot;INSERT INTO data SET\&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .\&quot; header=&#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$header&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;\&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .\&quot;, body=&#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$body&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;\&quot;);&lt;br /&gt;if (!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;) { echo mysql_error(); }&lt;br /&gt;&lt;br /&gt;mysql_close(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$dbh&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;&lt;br /&gt;header(\&quot;Location: http://www.website.com/updated.html\&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;---The script on the page that needs updating or added to (this does added to, not replacing ---&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;$dbh&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;mysql_connect &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;localhost\&quot;, \&quot;username\&quot;, \&quot;password\&quot;) or die (&#039;Cannot connect to the database because: &#039; . mysql_error());&lt;br /&gt;mysql_select_db (\&quot;database_table\&quot;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = mysql_query(\&quot;SELECT * FROM data ORDER BY id DESC\&quot;);&lt;br /&gt;// find out what the error is&lt;br /&gt;if (!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;) { echo mysql_error(); }&lt;br /&gt;&lt;br /&gt;while (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$qry&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = mysql_fetch_array(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$header&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$qry&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$body&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$qry&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;;&lt;br /&gt;&lt;br /&gt;echo&amp;lt;&amp;lt;&amp;lt;DETAILS&lt;br /&gt;&amp;lt;p class=\&quot;title\&quot;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$header&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$body&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;p class=\&quot;line\&quot;&amp;gt;---------------&amp;lt;/p&amp;gt;&lt;br /&gt;DETAILS;&lt;br /&gt;}&amp;nbsp; &lt;br /&gt;&lt;br /&gt;mysql_close(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$dbh&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
That&#039;s the exact code I use on one of my sites to display info from a dB...modify it where needed, but it works like a charm.&lt;/p&gt;
 </description>
     <pubDate>Mon, 22 Mar 2004 20:49:25 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1148028 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/simplest-way-webpage-updating#comment-1147987</link>
    <description> &lt;p&gt;thx all for your responses, i thought that there just might be an easier way and i didnt know about it. &lt;/p&gt;
&lt;p&gt;Question! , can i reconfigure some of these guess books scripts and utilise it to what i want to do , it follows the same logic right?&lt;/p&gt;
 </description>
     <pubDate>Mon, 22 Mar 2004 13:15:39 +0000</pubDate>
 <dc:creator>starter</dc:creator>
 <guid isPermaLink="false">comment 1147987 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/simplest-way-webpage-updating#comment-1147959</link>
    <description> &lt;p&gt;so umm.. short of making one i dunno what to say, i don&#039;t think there is anything you can do for a client aside form make somethign to make an easy submit to you to have you updateit witha  faster response time&lt;/p&gt;
 </description>
     <pubDate>Sun, 21 Mar 2004 20:12:43 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1147959 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/simplest-way-webpage-updating#comment-1147958</link>
    <description> &lt;p&gt;lol. once i finish the updates to my site that&#039;s what i&#039;m going back to&lt;br /&gt;
 a friend wants a webpage she can update easier&lt;br /&gt;
i&#039;mcreating a gui csss and tsuch for her so she can use on her site (she has a forums so i know she has php and sql, so that&#039;s gonna drive ir)&lt;/p&gt;
 </description>
     <pubDate>Sun, 21 Mar 2004 20:09:24 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1147958 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/simplest-way-webpage-updating#comment-1147949</link>
    <description> &lt;p&gt;I have run into a similar problem...and I created a different form for each page that needs content change, which is accessible via password and username...they go in and change what they need to when they need to.  PHP/HTML/MySQL&lt;/p&gt;
 </description>
     <pubDate>Sun, 21 Mar 2004 19:02:58 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1147949 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/simplest-way-webpage-updating#comment-1147937</link>
    <description> &lt;p&gt;seems like you need a template system in place. THEN you can easily manipulate the files from a form. but i guess that would not be a simple task.&lt;/p&gt;
 </description>
     <pubDate>Sun, 21 Mar 2004 16:51:24 +0000</pubDate>
 <dc:creator>s0da</dc:creator>
 <guid isPermaLink="false">comment 1147937 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/simplest-way-webpage-updating#comment-1147924</link>
    <description> &lt;p&gt;The easiest way is through a web-interface or using the default editing of a text file in an ftp application. But that&#039;s perhaps not the easiest for your client?&lt;/p&gt;
 </description>
     <pubDate>Sun, 21 Mar 2004 06:22:34 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1147924 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
