<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" version="2.0">
  <channel>
    <title>Recent Posts in 'Appending files' | sgForums.com</title>
    <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    <language>en-US</language>
    <ttl>60</ttl>
    <atom:link rel="search" type="application/opensearchdescription+xml" href="http://www.sgforums.com/open_search.xml"/>
    <description></description>
    <item>
      <title>Appending files replied by LatecomerX @ Fri, 11 Jul 2008 20:21:15 +0800</title>
      <description>&lt;blockquote&gt;
&lt;div class="quote_from"&gt;Originally posted by Trcyng:&lt;/div&gt;
&lt;div class="quote_body"&gt;
&lt;p&gt;then what about file overwrite? thanks for your help!!!!&lt;/p&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;Change the line from:&lt;/p&gt;
&lt;p&gt;file_put_contents($myFile, $data, FILE_APPEND);&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;file_put_contents($myFile, $data);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <pubDate>Fri, 11 Jul 2008 20:21:15 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8234863</guid>
      <author>LatecomerX</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
    <item>
      <title>Appending files replied by Trcyng @ Fri, 11 Jul 2008 20:11:52 +0800</title>
      <description>&lt;p&gt;then what about file overwrite? thanks for your help!!!!&lt;/p&gt;</description>
      <pubDate>Fri, 11 Jul 2008 20:11:52 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8234850</guid>
      <author>Trcyng</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
    <item>
      <title>Appending files replied by LatecomerX @ Tue, 08 Jul 2008 23:45:07 +0800</title>
      <description>&lt;p&gt;&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error
connecting to mysql');&lt;br /&gt;
mysql_select_db($dbname);&lt;br /&gt;
$query = "SELECT name,type,MIN(totalprice) FROM transactions GROUP
BY name,type";&lt;br /&gt;
$result = mysql_query($query) or die(mysql_error());&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;$data = "This is
sgForums.&lt;em&gt;\&lt;/em&gt;r&lt;em&gt;\&lt;/em&gt;n";&lt;/strong&gt;&lt;br /&gt;
while ($row = mysql_fetch_array($result) {&lt;br /&gt;
$data .= 'Name: ' . $row['name'] . ', Type: ' . $row['type'] .
"&lt;em&gt;\&lt;/em&gt;r&lt;em&gt;\&lt;/em&gt;n";&lt;br /&gt;
}&lt;br /&gt;
&lt;strong&gt;$data .= "People will be looking at this text
file.&lt;em&gt;\&lt;/em&gt;r&lt;em&gt;\&lt;/em&gt;n";&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
$myFile = "testFile.txt";&lt;br /&gt;
file_put_contents($myFile, $data, FILE_APPEND);&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;/p&gt;</description>
      <pubDate>Tue, 08 Jul 2008 23:45:07 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8228523</guid>
      <author>LatecomerX</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
    <item>
      <title>Appending files replied by Trcyng @ Tue, 08 Jul 2008 23:27:56 +0800</title>
      <description>&lt;p&gt;from database itself.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error
connecting to mysql');&lt;br /&gt;
mysql_select_db($dbname);&lt;br /&gt;
$query = "SELECT name,type,MIN(totalprice) FROM transactions GROUP
BY name,type";&lt;br /&gt;
$result = mysql_query($query) or die(mysql_error());&lt;br /&gt;
&lt;br /&gt;
$data = '';&lt;br /&gt;
while ($row = mysql_fetch_array($result) {&lt;br /&gt;
$data .= 'Name: ' . $row['name'] . ', Type: ' . $row['type'] . "
";&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
$myFile = "testFile.txt";&lt;br /&gt;
file_put_contents($myFile, $data, FILE_APPEND);&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Based on your codes righht? If I want to like display this;&lt;/p&gt;
&lt;p&gt;------------------------------------------&lt;/p&gt;
&lt;p&gt;This is SGFORUMS: &lt;strong&gt;(Meaning that this is what I want to
add as static)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;43 &lt;strong&gt;(Meaning that this is my SQL codes which the values
are dynamic)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;people is viewing this &lt;strong&gt;(Static)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;-----------------------------------------&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The words in bold is my question&lt;/p&gt;</description>
      <pubDate>Tue, 08 Jul 2008 23:27:56 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8228476</guid>
      <author>Trcyng</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
    <item>
      <title>Appending files replied by LatecomerX @ Tue, 08 Jul 2008 13:25:51 +0800</title>
      <description>&lt;blockquote&gt;
&lt;div class="quote_from"&gt;Originally posted by Trcyng:&lt;/div&gt;
&lt;div class="quote_body"&gt;
&lt;p&gt;&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error
connecting to mysql');&lt;br /&gt;
mysql_select_db($dbname);&lt;br /&gt;
$query = "SELECT name,type,MIN(totalprice) FROM transactions GROUP
BY name,type";&lt;br /&gt;
$result = mysql_query($query) or die(mysql_error());&lt;br /&gt;
&lt;br /&gt;
$data = '';&lt;br /&gt;
while ($row = mysql_fetch_array($result) {&lt;br /&gt;
$data .= 'Name: ' . $row['name'] . ', Type: ' . $row['type'] . "
";&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
$myFile = "testFile.txt";&lt;br /&gt;
file_put_contents($myFile, $data, FILE_APPEND);&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Based on your codes righht? If I want to like display this&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Example this is my highest data: (Meaning that this is what I
want to add as static)&lt;/p&gt;
&lt;p&gt;43 (Meaning that this is my SQL codes which the values are
dynamic)&lt;/p&gt;
&lt;p&gt;How can I actually do it based on the codes (Static)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;I don't get your question. Do you mean the text to be written
into the file is hardcoded in the PHP code instead of being pulled
out from a MySQL database? In that case, the code will simply
be:&lt;/p&gt;
&lt;p&gt;&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
$text = 'New Stuff 123';&lt;br /&gt;
$myFile = "testFile.txt";&lt;br /&gt;
&lt;br /&gt;
// &amp;nbsp;the line below writes the value in $text into the file
specified in $myFile&lt;br /&gt;
// if the file already exists, it will NOT overwrite the file, but
instead append the text to the end of the file&lt;br /&gt;
file_put_contents($myFile, $text, FILE_APPEND);&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <pubDate>Tue, 08 Jul 2008 13:25:51 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8226651</guid>
      <author>LatecomerX</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
    <item>
      <title>Appending files replied by Trcyng @ Mon, 07 Jul 2008 09:08:43 +0800</title>
      <description>&lt;p&gt;&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error
connecting to mysql');&lt;br /&gt;
mysql_select_db($dbname);&lt;br /&gt;
$query = "SELECT name,type,MIN(totalprice) FROM transactions GROUP
BY name,type";&lt;br /&gt;
$result = mysql_query($query) or die(mysql_error());&lt;br /&gt;
&lt;br /&gt;
$data = '';&lt;br /&gt;
while ($row = mysql_fetch_array($result) {&lt;br /&gt;
$data .= 'Name: ' . $row['name'] . ', Type: ' . $row['type'] . "
";&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
$myFile = "testFile.txt";&lt;br /&gt;
file_put_contents($myFile, $data, FILE_APPEND);&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Based on your codes righht? If I want to like display this&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Example this is my highest data: (Meaning that this is what I
want to add as static)&lt;/p&gt;
&lt;p&gt;43 (Meaning that this is my SQL codes which the values are
dynamic)&lt;/p&gt;
&lt;p&gt;How can I actually do it based on the codes (Static)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <pubDate>Mon, 07 Jul 2008 09:08:43 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8223274</guid>
      <author>Trcyng</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
    <item>
      <title>Appending files replied by LatecomerX @ Sun, 06 Jul 2008 18:50:42 +0800</title>
      <description>&lt;p&gt;&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error
connecting to mysql');&lt;br /&gt;
mysql_select_db($dbname);&lt;br /&gt;
$query = "SELECT name,type,MIN(totalprice) FROM transactions GROUP
BY name,type";&lt;br /&gt;
$result = mysql_query($query) or die(mysql_error());&lt;br /&gt;
&lt;br /&gt;
$data = '';&lt;br /&gt;
while ($row = mysql_fetch_array($result) {&lt;br /&gt;
$data .= 'Name: ' . $row['name'] . ', Type: ' . $row['type'] . "
";&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
$myFile = "testFile.txt";&lt;br /&gt;
file_put_contents($myFile, $data, FILE_APPEND);&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 06 Jul 2008 18:50:42 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8222107</guid>
      <author>LatecomerX</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
    <item>
      <title>Appending files replied by Trcyng @ Sun, 06 Jul 2008 12:57:14 +0800</title>
      <description>&lt;p&gt;PHP 5&lt;/p&gt;</description>
      <pubDate>Sun, 06 Jul 2008 12:57:14 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8221503</guid>
      <author>Trcyng</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
    <item>
      <title>Appending files replied by LatecomerX @ Sat, 05 Jul 2008 21:26:01 +0800</title>
      <description>&lt;blockquote&gt;
&lt;div class="quote_from"&gt;Originally posted by Trcyng:&lt;/div&gt;
&lt;div class="quote_body"&gt;
&lt;p&gt;ok you see...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SInce&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;$myFile = "testFile.txt"; // is specific the file&lt;br /&gt;
$fh = fopen($myFile, 'a') or die("can't open file"); //open&lt;br /&gt;
$stringData = "New Stuff 1 "; //write in (This is I am trying to
put&amp;nbsp;data here from &amp;nbsp;database)&lt;br /&gt;
fwrite($fh, $stringData);&lt;br /&gt;
$stringData = "New Stuff 2 "; //write in (This is I am trying to
put&amp;nbsp;data here from &amp;nbsp;database)&lt;br /&gt;
&lt;br /&gt;
fwrite($fh, $stringData);&lt;br /&gt;
fclose($fh);&lt;/p&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;Just a question before we continue, are you developing on PHP 4
or PHP 5?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <pubDate>Sat, 05 Jul 2008 21:26:01 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8220511</guid>
      <author>LatecomerX</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
    <item>
      <title>Appending files replied by Trcyng @ Sat, 05 Jul 2008 21:24:27 +0800</title>
      <description>&lt;p&gt;ok you see...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SInce&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;$myFile = "testFile.txt"; // is specific the file&lt;br /&gt;
$fh = fopen($myFile, 'a') or die("can't open file"); //open&lt;br /&gt;
$stringData = "New Stuff 1 "; //write in (This is I am trying to
put&amp;nbsp;data here from &amp;nbsp;database)&lt;br /&gt;
fwrite($fh, $stringData);&lt;br /&gt;
$stringData = "New Stuff 2 "; //write in (This is I am trying to
put&amp;nbsp;data here from &amp;nbsp;database)&lt;br /&gt;
&lt;br /&gt;
fwrite($fh, $stringData);&lt;br /&gt;
fclose($fh);&lt;/p&gt;</description>
      <pubDate>Sat, 05 Jul 2008 21:24:27 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8220509</guid>
      <author>Trcyng</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
    <item>
      <title>Appending files replied by LatecomerX @ Sat, 05 Jul 2008 18:54:27 +0800</title>
      <description>&lt;blockquote&gt;
&lt;div class="quote_from"&gt;Originally posted by Trcyng:&lt;/div&gt;
&lt;div class="quote_body"&gt;
&lt;p&gt;Is there any easier examples based on the codes below??&lt;/p&gt;
&lt;p&gt;&amp;lt;?php&lt;/p&gt;
&lt;p&gt;$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error
connecting to mysql');&lt;br /&gt;
mysql_select_db($dbname);&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
$query = "SELECT name,type,MIN(totalprice) FROM transactions GROUP
BY name,type";&lt;br /&gt;
$result = mysql_query($query) or die(mysql_error());&lt;/p&gt;
&lt;p&gt;$myFile = "testFile.txt"; //Specific Flie&lt;br /&gt;
$fh = fopen($myFile, 'a') or die("can't open file"); //open
file&lt;br /&gt;
$stringData = "New Stuff 1 ";&lt;br /&gt;
fwrite($fh, $stringData);&lt;/p&gt;
&lt;p&gt;$stringData = "THE SQL COMMAND CODES&amp;nbsp;MAYBE $query ???"; //
HELP NEEDED HERE&lt;br /&gt;
fwrite($fh, $stringData);&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
$stringData = "New Stuff 2 ";&lt;br /&gt;
fwrite($fh, $stringData);&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
fclose($fh);&lt;/p&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;I can't tell what you are trying to achieve from your code. Why
are you storing the SQL query string in the text file? And there's
no function call to fetch the data from $result.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <pubDate>Sat, 05 Jul 2008 18:54:27 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8220346</guid>
      <author>LatecomerX</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
    <item>
      <title>Appending files replied by Trcyng @ Sat, 05 Jul 2008 15:34:20 +0800</title>
      <description>&lt;p&gt;Is there any easier examples based on the codes below??&lt;/p&gt;
&lt;p&gt;&amp;lt;?php&lt;/p&gt;
&lt;p&gt;$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error
connecting to mysql');&lt;br /&gt;
mysql_select_db($dbname);&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
$query = "SELECT name,type,MIN(totalprice) FROM transactions GROUP
BY name,type";&lt;br /&gt;
$result = mysql_query($query) or die(mysql_error());&lt;/p&gt;
&lt;p&gt;$myFile = "testFile.txt"; //Specific Flie&lt;br /&gt;
$fh = fopen($myFile, 'a') or die("can't open file"); //open
file&lt;br /&gt;
$stringData = "New Stuff 1 ";&lt;br /&gt;
fwrite($fh, $stringData);&lt;/p&gt;
&lt;p&gt;$stringData = "THE SQL COMMAND CODES&amp;nbsp;MAYBE $query ???"; //
HELP NEEDED HERE&lt;br /&gt;
fwrite($fh, $stringData);&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
$stringData = "New Stuff 2 ";&lt;br /&gt;
fwrite($fh, $stringData);&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
fclose($fh);&lt;/p&gt;</description>
      <pubDate>Sat, 05 Jul 2008 15:34:20 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8220034</guid>
      <author>Trcyng</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
    <item>
      <title>Appending files replied by LatecomerX @ Fri, 04 Jul 2008 22:34:16 +0800</title>
      <description>&lt;p&gt;It would actually be "New Stuff1 New Stuff2 ". The text file
would only contain one single line. And there's no WHERE clause in
an INSERT statement. The code to write text into a file can be
simpler with the &lt;a href=
"http://sg.php.net/manual/en/function.file-put-contents.php" rel=
"nofollow"&gt;file_put_contents() function&lt;/a&gt; if you happen to be
using PHP 5 (see example below). If you want to query the database
and save the output into a text file, it would be something like
this:&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Database&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Table: some_table&lt;/p&gt;
&lt;p&gt;id - user - score&lt;br /&gt;
1 - Dokuro - 12345&lt;br /&gt;
2 - Zakuro - 2345&lt;br /&gt;
3 - Sakura - 345&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Application&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
$db = new mysqli('localhost', 'database_username',
'database_password', 'name_of_database'); // establish a database
connection&lt;br /&gt;
&lt;br /&gt;
$result = $db-&amp;gt;query("SELECT user FROM some_table WHERE id =
1"); // query the database&lt;br /&gt;
$row = $result-&amp;gt;fetch_array(); // retrieves a row from the query
result as an array&lt;br /&gt;
$name = $row['user']; // get the value stored in the "user" column
from the row retrieved&lt;/p&gt;
&lt;p&gt;for ($i = 1; $i &amp;lt;= 4; $i++) { // writes the name 4 times in
the file&lt;br /&gt;
file_put_contents('filename.text', $name . "\r\n", FILE_APPEND); //
"\r\n" is used to "push" any following text onto the next
line&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="text-decoration: underline;"&gt;Resulting Text File
(filename.text)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Dokuro&lt;br /&gt;
Dokuro&lt;br /&gt;
Dokuro&lt;br /&gt;
Dokuro&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <pubDate>Fri, 04 Jul 2008 22:34:16 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8218537</guid>
      <author>LatecomerX</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
    <item>
      <title>Appending files replied by Trcyng @ Fri, 04 Jul 2008 21:30:04 +0800</title>
      <description>&lt;p&gt;Hi, I have gt another problem. Firstly, you see these codes;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;$myFile = "testFile.txt";&lt;br /&gt;
$fh = fopen($myFile, 'a') or die("can't open file");&lt;br /&gt;
$stringData = "New Stuff 1 ";&lt;br /&gt;
fwrite($fh, $stringData);&lt;br /&gt;
$stringData = "New Stuff 2 ";&lt;br /&gt;
fwrite($fh, $stringData);&lt;br /&gt;
fclose($fh);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So bascially this codes could actually append a file and the
output in the .txt file would be:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;New Stuff1&lt;/p&gt;
&lt;p&gt;New Stuff2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;am i correct to say that, right?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So is there any way that I could&amp;nbsp;input SQL instructions so
that the text file would display the &lt;strong&gt;value&lt;/strong&gt; of my,
erm, my SQL codes?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So if I were to say, INSERT name WHERE table =1 and the .txt
file would have the 'name'?&lt;/p&gt;</description>
      <pubDate>Fri, 04 Jul 2008 21:30:04 +0800</pubDate>
      <guid isPermaLink="false">www.sgforums.com:2250:323108:8218432</guid>
      <author>Trcyng</author>
      <link>http://www.sgforums.com/forums/2250/topics/323108</link>
    </item>
  </channel>
</rss>
