<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by transfield</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Sat, 06 Jun 2026 07:39:26 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>D&amp;#39;Quince @ Damansara Perdana by Exsim</title>
            <link>http://forum.lowyat.net/topic/4824203</link>
            <description>I came across &lt;a href='https://forum.lowyat.net/topic/4813582/all' target='_blank'&gt;this topic&lt;/a&gt; here which aroused my curiosity as I live nearby. Finding the actual location was a challenge. I had to go to the Exsim showroom in Empire City &amp;amp; they pointed me across the LDP to the concrete batching plant on the road leading towards Flora Damansara. Yes, that&amp;#39;s the actual location of the site.&lt;br /&gt;&lt;br /&gt;Well, I&amp;#39;m not particularly impressed with the access road neither am enthusiastic to stay close to Flora Damansara.&lt;br /&gt;&lt;br /&gt;However, the price is a steal starting from RM270k onward for a 550sf unit. Another attractive feature is the price remains that same regardless of whether you buy a unit on the lower floor or higher floor.&lt;br /&gt;&lt;br /&gt;Therefore, the early bird catches the worm&amp;#33; I got the &lt;a href='http://bit.do/damansarapark' target='_blank'&gt;sign-up link&lt;/a&gt; from the people at the Exsim showroom. within 24 hours of signing up, a representative of the developer called me to make an appointment to view the show unit. They are super efficient, polite &amp;amp; professional I must say. I&amp;#39;ll be visiting the show unit tomorrow...&lt;br /&gt;&lt;br /&gt;In summary, I would say that this &amp;quot;starter&amp;quot; property would be quite affordable for unmarried people below the age of 30. My motivation to buy? Well, my 21 year old son just started working..I might want to help him own one by paying the down-payment for him...&lt;br /&gt;&lt;br /&gt;Here are some pictures sourced from Facebook. Hope it helps someone &amp;amp; perhaps we might end up being neighbours :-)&lt;br /&gt;&lt;br /&gt;BTW, just before I make a final decision, &lt;b&gt;would I be able to get something better in the same area for RM270k?&lt;/b&gt; Thanks for any advice.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://pictr.com/image/5rTjLU' target='_blank'&gt;&lt;img src='https://pictr.com/images/2019/08/17/5rTjLU.md.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href='https://pictr.com/image/5rTCC9' target='_blank'&gt;&lt;img src='https://pictr.com/images/2019/08/17/5rTCC9.md.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href='https://pictr.com/image/5rTWBf' target='_blank'&gt;&lt;img src='https://pictr.com/images/2019/08/17/5rTWBf.md.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href='https://pictr.com/image/5rToF2' target='_blank'&gt;&lt;img src='https://pictr.com/images/2019/08/17/5rToF2.md.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href='https://pictr.com/image/5rTfMl' target='_blank'&gt;&lt;img src='https://pictr.com/images/2019/08/17/5rTfMl.md.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href='https://pictr.com/image/5rTQDu' target='_blank'&gt;&lt;img src='https://pictr.com/images/2019/08/17/5rTQDu.md.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href='https://pictr.com/image/5rTcSg' target='_blank'&gt;&lt;img src='https://pictr.com/images/2019/08/17/5rTcSg.md.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;</description>
            <author>transfield</author>
            <category>Property Talk</category>
            <pubDate>Sat, 17 Aug 2019 23:11:31 +0800</pubDate>
        </item>
        <item>
            <title>MySql Query for Wordpress</title>
            <link>http://forum.lowyat.net/topic/3587952</link>
            <description>Hi,&lt;br /&gt;I am editing a Wordpress plugin. I basically want to query the Wordpress database &amp;amp; do something with the results. I&amp;#39;ve figured out the 1st part which is:&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&amp;#60;?php&lt;br /&gt;global &amp;#036;wpdb;&lt;br /&gt;&amp;#036;my_table = &amp;#036;wpdb-&amp;#62;prefix.&amp;#34;users&amp;#34;;&lt;br /&gt;&amp;#036;my_query = &amp;#34;Select user_login from &amp;#036;my_table where user_login LIKE &amp;#39;%z%&amp;#39; &amp;#34;;&lt;br /&gt;&amp;#036;my_results = &amp;#036;wpdb-&amp;#62;get_results&amp;#40;&amp;#036;my_query&amp;#41;;&lt;br /&gt;?&amp;#62;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;I don&amp;#39;t know how to get the second part done. I want to put the search results into the foreach loop.&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&amp;#60;?php&lt;br /&gt;foreach&amp;#40;&amp;#036;my_results as &amp;#036;user_data&amp;#41;&lt;br /&gt;{&lt;br /&gt;/*Lets assume that I have 100 records from the search results. How do I put all the 100 records into the code below? This means that the search results needs to go into michael_jackson, joe_bugner, etc*/&lt;br /&gt;if&amp;#40;&amp;#036;user_data -&amp;#62; user_login === &amp;#39;michael_jackson&amp;#39; &amp;#124;&amp;#124; &amp;#036;user_data -&amp;#62; user_login === &amp;#39;joe_bugner&amp;#39; &amp;#41;&lt;br /&gt;// do something&lt;br /&gt;}&lt;br /&gt;?&amp;#62;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Sun, 24 May 2015 23:49:49 +0800</pubDate>
        </item>
        <item>
            <title>Wordpress Customisation Advice</title>
            <link>http://forum.lowyat.net/topic/3559353</link>
            <description>Hi,&lt;br /&gt;I have a Wordpress 4.0.2 site. I engaged a programmer to do some customization to it. He wrote all the php code into the functions.php of my theme. I didn&amp;#39;t realize that this was a bad move as I was new to Wordpress customization &amp;amp; I relied upon him for his &amp;#39;expert&amp;#39; advice.&lt;br /&gt;&lt;br /&gt;While the codes are all working fine the side effect of his work is as follows:&lt;br /&gt;1. The site is sluggish&lt;br /&gt;2. It throws up some hidden javascript errors that prevents other Wordpress plugins from functioning&lt;br /&gt;3. WordPress&amp;#39; admin-ajax.php has been blocked from loading&lt;br /&gt;4. It is loading jquery multiple times from an external google api link&lt;br /&gt;5. I can&amp;#39;t update / change my theme anymore for fear that the functions.php file will no longer work on the new theme&lt;br /&gt;6. The searchability is unstable&lt;br /&gt;7. I dare not upgrade my version of Worpress for fear that something might get messed up&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Additional Info&lt;/u&gt;&lt;br /&gt;One of the core functions of this Wordpress site is to query an external Mysql database containing approximately 20 million records. Could this be a contributory factor to the sluggishness of the site?&lt;br /&gt;&lt;br /&gt;Under such circumstances, what is the best way to maintain all the customization but improve the performance of this site?&lt;br /&gt;&lt;br /&gt;Thanks for your advice.&lt;br /&gt;</description>
            <author>transfield</author>
            <category>Content Creators, Blogmasters &amp;amp; Webmasters</category>
            <pubDate>Wed, 22 Apr 2015 21:16:37 +0800</pubDate>
        </item>
        <item>
            <title>Excel VBA Macro</title>
            <link>http://forum.lowyat.net/topic/3336443</link>
            <description>Hi,&lt;br /&gt;I&amp;#39;m using Excel 2013. &lt;br /&gt;&lt;br /&gt;I would like to copy every 150 rows of data from column A of Sheet 1 &amp;amp; paste special in a transpose manner into Sheet 2. I would like this process to go on until there is no more data in Sheet 1 to copy. The end result should be all data is pasted in Sheet 2 in a transpose manner &amp;amp; there should no longer be any data in Sheet 1.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve gone as far as creating this macro which works fine but doesn&amp;#39;t seem to loop. Could you please help me to edit this code so that it loops until there is no more data in Sheet 1 to copy?&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;Sub test&amp;#40;&amp;#41;&lt;br /&gt;ActiveSheet.Name = &amp;#34;Sheet1&amp;#34;&lt;br /&gt; &amp;nbsp; &amp;nbsp;Dim wsData As Worksheet&lt;br /&gt; &amp;nbsp; &amp;nbsp;Dim wsNew As Worksheet&lt;br /&gt; &amp;nbsp; &amp;nbsp;Dim rng As Range&lt;br /&gt; &amp;nbsp; &amp;nbsp;Dim I As Long&lt;br /&gt; &amp;nbsp; &amp;nbsp; &lt;br /&gt; &amp;nbsp; &amp;nbsp;Set wsData = Worksheets&amp;#40;&amp;#34;Sheet1&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;Set wsNew = Worksheets&amp;#40;&amp;#34;Sheet2&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &lt;br /&gt; &amp;nbsp; &amp;nbsp;Set rng = wsData.Range&amp;#40;&amp;#34;A1&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;While rng.Value &amp;#60;&amp;#62; &amp;#34;&amp;#34;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I = I + 1&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rng.Resize&amp;#40;150&amp;#41;.Copy&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;wsNew.Range&amp;#40;&amp;#34;A&amp;#34; &amp;amp; I&amp;#41;.PasteSpecial xlPasteValues, Transpose&amp;#58;=True&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Set rng = rng.Offset&amp;#40;150&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;Wend&lt;br /&gt;End Sub&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Mon, 01 Sep 2014 00:01:52 +0800</pubDate>
        </item>
        <item>
            <title>MS Access Export Table to Text File</title>
            <link>http://forum.lowyat.net/topic/3321957</link>
            <description>Hi,&lt;br /&gt;I have a table of thousands of records in MS Access 2007. I want to export it to a text file consisting of 500 records per text file. I&amp;#39;m looking for a macro which can do this. The macro should ideally create the text files automatically.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve gone as far as using the following code which works well to export the entire table into one text file. I don&amp;#39;t know how to break up this big text file into smaller files of 500 records per file automatically during the import.&lt;br /&gt;&lt;br /&gt;Thank you for your advice.&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;Sub ExportToText&amp;#40;&amp;#41;&lt;br /&gt;Dim rst As DAO.Recordset&lt;br /&gt;Open &amp;#34;C&amp;#58;&amp;#092;Users&amp;#092;a&amp;#092;Desktop&amp;#092;test.txt&amp;#34; For Output As #1&lt;br /&gt;Set rst = CurrentDb.OpenRecordset&amp;#40;&amp;#34;SELECT &amp;#91;Name&amp;#93; FROM &amp;#91;Australian Non Duplicate Names&amp;#93;&amp;#34;, dbOpenSnapshot&amp;#41;&lt;br /&gt;Do While Not rst.EOF&lt;br /&gt; &amp;nbsp; &amp;nbsp;Print #1, rst&amp;#33;Name&lt;br /&gt; &amp;nbsp; &amp;nbsp;rst.MoveNext&lt;br /&gt;Loop&lt;br /&gt;rst.Close&lt;br /&gt;Set rst = Nothing&lt;br /&gt;Close #1&lt;br /&gt;End Sub&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Sat, 16 Aug 2014 09:09:50 +0800</pubDate>
        </item>
        <item>
            <title>PHP Delete Folder</title>
            <link>http://forum.lowyat.net/topic/2839236</link>
            <description>Hi,&lt;br /&gt;I&amp;#39;ve got an empty folder on my web server. Permissions are set to 0777. I can&amp;#39;t delete it using the code below. I&amp;#39;ve created other folders too. None of these folders can be deleted using the same code. I can easily delete them manually by right-clicking on my mouse &amp;amp; selecting Delete. However, I don&amp;#39;t want to delete them manually. I want to use a php code. Please help.&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;&amp;#60;?php&lt;br /&gt;// Path to directory you want to delete&lt;br /&gt;&amp;#036;directory = &amp;#39;/home/website/domains/website.com.my/public_html/download3&amp;#39;;&lt;br /&gt;&lt;br /&gt;// Delete it&lt;br /&gt;if &amp;#40;rmdir&amp;#40;&amp;#036;directory&amp;#41;&amp;#41;&lt;br /&gt;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;echo &amp;#34;{&amp;#036;directory} has been deleted&amp;#34;;&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;echo &amp;#34;{&amp;#036;directory} could not be deleted&amp;#34;;&lt;br /&gt;?&amp;#62;&lt;br /&gt;} &lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Thu, 06 Jun 2013 15:52:18 +0800</pubDate>
        </item>
        <item>
            <title>Import Emails into Mysql</title>
            <link>http://forum.lowyat.net/topic/2476265</link>
            <description>Hello,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m hosting my website on a Linux server. My web host gives me unlimited email accounts. I access my emails using either Horde or Squirrel Mail which is provided to me by my web host as part of my hosting package.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;I want to import all my incoming emails into a Mysql database.&lt;/b&gt; The Mysql database is also provided to me by my web host as part of my hosting package. How do I do that? I am looking for a PHP solution, if possible.&lt;br /&gt;&lt;br /&gt;I have looked at the control panel provided to me by my web host. There is a feature to &amp;#39;pipe my emails to a program&amp;#39;, whatever that means. A screen shot is attached. Can I use this feature to do what I want to do? If so, how do I do it?&lt;br /&gt;&lt;br /&gt;[attachmentid=3008018]</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Mon, 20 Aug 2012 13:03:54 +0800</pubDate>
        </item>
        <item>
            <title>Want to Shut Down PC from Command Line</title>
            <link>http://forum.lowyat.net/topic/0</link>
            <description></description>
            <category>Technical Support</category>
            <pubDate>Thu, 01 Jan 1970 07:30:00 +0800</pubDate>
        </item>
        <item>
            <title>Forbidden. You don&amp;#39;t have permission to access</title>
            <link>http://forum.lowyat.net/topic/2371620</link>
            <description>Hi,&lt;br /&gt;&lt;br /&gt;I have a php script &amp;amp; a cgi perl script to upload files into my server. Both scripts worked fine for many months. Recently, I&amp;#39;m getting an error when I run my file upload script. The message is:-&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Forbidden&lt;br /&gt;You don&amp;#39;t have permission to access /myscript.php on this server.&lt;br /&gt;Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;My webhost claims that this is due to their upgrading from php 5.2 to php 5.3. I don&amp;#39;t believe them because even my cgi perl script generates the same message. &lt;br /&gt;&lt;br /&gt;Error Log Messages from my hosting&amp;#39;s control panel:-&lt;br /&gt;&lt;br /&gt;[Mon Jun 04 01:08:59 2012] [error] [client 60.51.19.102] File does not exist: /home/xxx/public_html/xxx/404.shtml&lt;br /&gt;[Mon Jun 04 01:08:59 2012] [error] [client 60.51.19.102] File does not exist: /home/xxx/public_html/xxx/favicon.ico&lt;br /&gt;[Mon Jun 04 01:08:59 2012] [error] [client 60.51.19.102] File does not exist: /home/xxx/public_html/xxx/403.shtml, referer: &lt;a href='http://www.xxx/file_upload.html' target='_blank'&gt;http://www.xxx/file_upload.html&lt;/a&gt;&lt;br /&gt;[Mon Jun 04 01:08:58 2012] [error] [client 60.51.19.102] File does not exist: /home/xxx/public_html/xxx/404.shtml&lt;br /&gt;[Mon Jun 04 01:08:58 2012] [error] [client 60.51.19.102] File does not exist: /home/xxx/public_html/xxx/favicon.ico&lt;br /&gt;[Mon Jun 04 01:08:56 2012] [error] [client 60.51.19.102] File does not exist: /home/xxx/public_html/xxx/404.shtml&lt;br /&gt;[Mon Jun 04 01:08:56 2012] [error] [client 60.51.19.102] File does not exist: /home/xxx/public_html/xxx/favicon.ico&lt;br /&gt;&lt;br /&gt;Any help will be greatly appreciated.</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Sun, 03 Jun 2012 09:40:22 +0800</pubDate>
        </item>
        <item>
            <title>Update One Table from Data in Another Table</title>
            <link>http://forum.lowyat.net/topic/2260731</link>
            <description>Hello,&lt;br /&gt;&lt;br /&gt;I have 2 tables. The structures are below:-&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;CREATE TABLE IF NOT EXISTS `dcp_reports_raw` &amp;#40;&lt;br /&gt; &amp;nbsp;`id` int&amp;#40;6&amp;#41; NOT NULL auto_increment,&lt;br /&gt; &amp;nbsp;`club_num` int&amp;#40;10&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`club_name` varchar&amp;#40;60&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`mship_base` int&amp;#40;3&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`mship_todate` int&amp;#40;3&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`dcp_todate` int&amp;#40;2&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;KEY `id` &amp;#40;`id`&amp;#41;&lt;br /&gt;&amp;#41; ENGINE=MyISAM &amp;nbsp;DEFAULT CHARSET=latin1 AUTO_INCREMENT=0&amp;#59;&lt;br /&gt;&lt;br /&gt;CREATE TABLE IF NOT EXISTS `dcp_reports` &amp;#40;&lt;br /&gt; &amp;nbsp;`id` int&amp;#40;6&amp;#41; NOT NULL auto_increment,&lt;br /&gt; &amp;nbsp;`club_num` int&amp;#40;10&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`club_name` varchar&amp;#40;60&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`mship_base` int&amp;#40;3&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`mship_todate` int&amp;#40;3&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`dcp_todate` int&amp;#40;2&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`mship_lastweek` int&amp;#40;3&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`dcp_lastweek` int&amp;#40;2&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`to_email` varchar&amp;#40;100&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`from_email` varchar&amp;#40;50&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`message` varchar&amp;#40;1000&amp;#41; NOT NULL,&lt;br /&gt; &amp;nbsp;`database_lastupdated` date NOT NULL,&lt;br /&gt; &amp;nbsp;`email_lastsent` date NOT NULL,&lt;br /&gt; &amp;nbsp;`expiry` date NOT NULL,&lt;br /&gt; &amp;nbsp;KEY `id` &amp;#40;`id`&amp;#41;&lt;br /&gt;&amp;#41; ENGINE=MyISAM &amp;nbsp;DEFAULT CHARSET=latin1 AUTO_INCREMENT=0&amp;#59;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;I want to :-&lt;br /&gt;&lt;br /&gt;1. update dcp_reports.mship_todate with the data from dcp_reports_raw.mship_todate provided that the values of dcp_reports.club_num and dcp_reports_raw.club_num are the same.&lt;br /&gt;&lt;br /&gt;2. update dcp_reports.dcp_todate with the data from dcp_reports_raw.dcp_todate provided that the values of dcp_reports.club_num and dcp_reports_raw.club_num are the same.&lt;br /&gt;&lt;br /&gt;If both item 1 and 2 can be combined in 1 query, so much the better. Otherwise, I&amp;#39;m okay with 2 separate queries.&lt;br /&gt;&lt;br /&gt;Kindly provide me with the Mysql or PHp code please.&lt;br /&gt;&lt;br /&gt;Thanks.</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Sat, 10 Mar 2012 23:49:11 +0800</pubDate>
        </item>
        <item>
            <title>download excel file from the web</title>
            <link>http://forum.lowyat.net/topic/2224319</link>
            <description>Hello,&lt;br /&gt;There is an excel file on the web. The url to the excel file is something like this:- &lt;a href='http://reports.something.org/reports_new/someReport.cfm?secondTime=1&amp;d=51&amp;xl=1' target='_blank'&gt;http://reports.something.org/reports_new/s...ime=1&amp;d=51&amp;xl=1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I want to use a php code to download this excel file. I want to download this excel file to a folder in my server. The path to the folder in my server is something like this:-&lt;br /&gt;/home/xxx/public_html/xxx.ORG/the folder&lt;br /&gt;&lt;br /&gt;Could you provide me the code to save the excel file in my server?&lt;br /&gt;&lt;br /&gt;Thanks.</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Sun, 12 Feb 2012 23:30:39 +0800</pubDate>
        </item>
        <item>
            <title>Javascript Form Validation</title>
            <link>http://forum.lowyat.net/topic/2197475</link>
            <description>Hi,&lt;br /&gt;I&amp;#39;ve got a Javascript that works perfectly well for Internet Explorer. However, it does not work for Firefox &amp;amp; Google Chrome. How do I make it work for Firefox &amp;amp; Google Chrome too?&lt;br /&gt;&lt;br /&gt;The Javascript.&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&amp;#60;script language=&amp;#34;javascript&amp;#34;&amp;#62;&lt;br /&gt;function validateClassifiedEmail&amp;#40;form&amp;#41;&lt;br /&gt;{&lt;br /&gt;return &amp;#40;emailCheck&amp;#40;form.email1.value&amp;#41; &amp;amp;&amp;amp; emailCheck&amp;#40;form.email2.value&amp;#41; &amp;amp;&amp;amp; isValidURL&amp;#40;form.url1.value&amp;#41; &amp;amp;&amp;amp; isValidURL&amp;#40;form.url2.value&amp;#41;&amp;#41;&lt;br /&gt;}&lt;br /&gt;&amp;#60;/script&amp;#62;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;The html form that it&amp;#39;s supposed to validate.&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&amp;#60;form name=&amp;#34;form2&amp;#34; method=&amp;#34;post&amp;#34; action=&amp;#34;&amp;#34; onSubmit=&amp;#34;return validateClassifiedEmail&amp;#40;this&amp;#41;;&amp;#34;&amp;#62;&lt;br /&gt;&amp;#60;input name=&amp;#34;url1&amp;#34; type=&amp;#34;text&amp;#34; id=&amp;#34;url1&amp;#34; size=&amp;#34;50&amp;#34; onFocus=&amp;#34;clearText&amp;#40;this&amp;#41;&amp;#34; value=&amp;#34;some url&amp;#34;&amp;#62;&lt;br /&gt;&amp;#60;input name=&amp;#34;email1&amp;#34; type=&amp;#34;text&amp;#34; id=&amp;#34;email1&amp;#34; size=&amp;#34;25&amp;#34; onFocus=&amp;#34;clearText&amp;#40;this&amp;#41;&amp;#34; value=&amp;#34;some email address&amp;#34;&amp;#62;&lt;br /&gt;&amp;#60;input name=&amp;#34;url2&amp;#34; type=&amp;#34;text&amp;#34; id=&amp;#34;url2&amp;#34; size=&amp;#34;50&amp;#34; onFocus=&amp;#34;clearText&amp;#40;this&amp;#41;&amp;#34; value=&amp;#34;some other url&amp;#34;&amp;#62;&lt;br /&gt;&amp;#60;input name=&amp;#34;email2&amp;#34; type=&amp;#34;text&amp;#34; id=&amp;#34;email2&amp;#34; size=&amp;#34;25&amp;#34; onFocus=&amp;#34;clearText&amp;#40;this&amp;#41;&amp;#34; value=&amp;#34;some other email address&amp;#34;&amp;#62;&lt;br /&gt;&amp;#60;input type=&amp;#34;hidden&amp;#34; name=&amp;#34;form_submitted&amp;#34; value=&amp;#34;1&amp;#34;/&amp;#62;&lt;br /&gt;&amp;#60;input type=&amp;#34;submit&amp;#34; value=&amp;#34;Submit&amp;#34; /&amp;#62;&lt;br /&gt;&amp;#60;/form&amp;#62;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;In the case of Internet Explorer, all 4 text boxes(email1,email2,url1 &amp;amp; url2) are succesfully validated. However, in the case of Firefox &amp;amp; Google Chrome, only email1 is validated.&lt;br /&gt;&lt;br /&gt;I want all 4 text boxes to be validated. How do I achieve this?&lt;br /&gt;&lt;br /&gt;Thanks. &lt;br /&gt;</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Fri, 20 Jan 2012 19:40:16 +0800</pubDate>
        </item>
        <item>
            <title>PHP Email Message Headers</title>
            <link>http://forum.lowyat.net/topic/2195198</link>
            <description>Hello,&lt;br /&gt;I used Yahoo Mail to send an email to my secret WordPress posting email, and a post was created and published automatically. Hooray :-)&lt;br /&gt;&lt;br /&gt;However, when I sent an email to the same address using PHP, nothing happened - no posts created, none published....Using PHP, I can succesfully send the same email to my secret Blogspot posting email. Therefore, I don&amp;#39;t think there is anything wrong with my PHP code.&lt;br /&gt;&lt;br /&gt;I suspect that there is something &amp;#39;unfriendly / missing&amp;#39; in my message headers. My message headers are below. Are there any additional headers that I need to add to make my email Wordpress friendly?&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&amp;#60;?php&lt;br /&gt;&amp;#036;headers &amp;nbsp;= &amp;#39;MIME-Version&amp;#58; 1.0&amp;#39; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;#34;&amp;#092;r&amp;#092;n&amp;#34;;&lt;br /&gt;&amp;#036;headers .= &amp;#39;Content-type&amp;#58; text/html; charset=utf-8&amp;#39; . &amp;#34;&amp;#092;r&amp;#092;n&amp;#34;;&lt;br /&gt;&amp;#036;headers .= &amp;#39;From&amp;#58; noreply@mywebsite.org&amp;#39; . &amp;#34;&amp;#092;r&amp;#092;n&amp;#34;;&lt;br /&gt;&amp;#036;headers .= &amp;#39;Return-Path&amp;#58; me@mywebhost.com&amp;#39; . &amp;#34;&amp;#092;r&amp;#092;n&amp;#34;;&lt;br /&gt;&amp;#036;headers .= &amp;#39;Reply-to&amp;#58; noreply@mywebsite.org&amp;#39; . &amp;#34;&amp;#092;r&amp;#092;n&amp;#34;;&lt;br /&gt;&amp;#036;headers .= &amp;#39;Errors-To&amp;#58; noreply@mywebsite.org&amp;#39; . &amp;#34;&amp;#092;r&amp;#092;n&amp;#34;;&lt;br /&gt;&amp;#036;headers .= &amp;#39;X-AntiAbuse&amp;#58; Primary Hostname - mywebhost.com&amp;#39; . &amp;#34;&amp;#092;r&amp;#092;n&amp;#34;;&lt;br /&gt;&amp;#036;headers .= &amp;#39;X-AntiAbuse&amp;#58; Sender Address Domain - mywebhost.com&amp;#39; . &amp;#34;&amp;#092;r&amp;#092;n&amp;#34;;&lt;br /&gt;?&amp;#62;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;My emails consists of text, pictures, videos &amp;amp; other stuff.&lt;br /&gt;&lt;br /&gt;Thanks for your advice.</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Wed, 18 Jan 2012 21:05:37 +0800</pubDate>
        </item>
        <item>
            <title>Find Cells Which Do Not Contain a Particular Str</title>
            <link>http://forum.lowyat.net/topic/2172153</link>
            <description>Hi,&lt;br /&gt;I would like to modify the macro below in order to find cells that &lt;b&gt;do not&lt;/b&gt; contain &lt;b&gt;*/*/20*&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;How do I achieve this? Kindly show me the code please.&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;Sub delete_oldads&amp;#40;&amp;#41;&lt;br /&gt;Dim cel As Range, cfind As Range&lt;br /&gt;ActiveSheet.UsedRange.Select&lt;br /&gt;For Each cel In ActiveSheet.UsedRange&lt;br /&gt;If cel = &amp;#34;&amp;#34; Then GoTo nextcel&lt;br /&gt;Set cfind = cel.Find&amp;#40;what&amp;#58;=&amp;#34;*/*/20*&amp;#34;, lookat&amp;#58;=xlPart&amp;#41;&lt;br /&gt;If Not cfind Is Nothing Then&lt;br /&gt;cfind.Copy Cells&amp;#40;cfind.Row, &amp;#34;A&amp;#34;&amp;#41;&lt;br /&gt;cfind.Clear&lt;br /&gt;End If&lt;br /&gt;nextcel&amp;#58;&lt;br /&gt;Next cel&lt;br /&gt;End Sub&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Sun, 01 Jan 2012 01:45:19 +0800</pubDate>
        </item>
        <item>
            <title>Excel 2003 VB Macro Question</title>
            <link>http://forum.lowyat.net/topic/2170877</link>
            <description>Hi,&lt;br /&gt;I have a worksheet with data in it. The data could be in any column or row. I am looking for data which contains the numbers &lt;b&gt;01&lt;/b&gt;. If I find such data, I want to move all the data in that particular cell it to column A.&lt;br /&gt;&lt;br /&gt;My code(which is not working) is below. Could you help me to make it work please?&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;Sub delete_oldads&amp;#40;&amp;#41;&lt;br /&gt;&amp;#39;the code to find 01&lt;br /&gt;Dim cel As Range&lt;br /&gt;ActiveSheet.UsedRange.Select&lt;br /&gt;For Each cel In Selection&lt;br /&gt;If cel = &amp;#34;&amp;#34; Then GoTo nextcel&lt;br /&gt;If Cells.Find&amp;#40;&amp;#34;*01*&amp;#34;&amp;#41; = True Then&lt;br /&gt;&lt;br /&gt;move_ad_to_left&lt;br /&gt;&lt;br /&gt;End If&lt;br /&gt;nextcel&amp;#58;&lt;br /&gt;Next cel&lt;br /&gt;End Sub&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;Sub move_ad_to_left&amp;#40;&amp;#41;&lt;br /&gt;&amp;#39;the code to move the data from anywhere to column A&lt;br /&gt;Dim LR As Long, c As Range&lt;br /&gt;LR = Cells.Find&amp;#40;&amp;#34;*&amp;#34;, SearchDirection&amp;#58;=xlPrevious, SearchOrder&amp;#58;=xlByRows&amp;#41;.Row&lt;br /&gt;For Each c In Range&amp;#40;&amp;#34;B1&amp;#58;Z&amp;#34; &amp;amp; LR&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;If c.Value &amp;#60;&amp;#62; &amp;#34;&amp;#34; Then c.Cut Destination&amp;#58;=Range&amp;#40;&amp;#34;A&amp;#34; &amp;amp; Rows.Count&amp;#41;.End&amp;#40;xlUp&amp;#41;.Offset&amp;#40;1&amp;#41;&lt;br /&gt;Next c&lt;br /&gt;End Sub&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Fri, 30 Dec 2011 21:51:01 +0800</pubDate>
        </item>
        <item>
            <title>Batch Rename of Files</title>
            <link>http://forum.lowyat.net/topic/2165323</link>
            <description>Hi,&lt;br /&gt;I&amp;#39;ve got hundreds of html files in a folder. I want to rename them using an Excel VB macro. The new names could be something simple like 1.htm, 2.htm, 3.htm, etc.&lt;br /&gt;&lt;br /&gt;The html files are located at C:&amp;#092;Documents and Settings&amp;#092;b&amp;#092;Desktop&amp;#092;files&lt;br /&gt;&lt;br /&gt;I am using Excel 2003.&lt;br /&gt;&lt;br /&gt;Could you provide me with the macro please?&lt;br /&gt;&lt;br /&gt;Thanks.</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Tue, 27 Dec 2011 02:17:31 +0800</pubDate>
        </item>
        <item>
            <title>PHP Mysql Question</title>
            <link>http://forum.lowyat.net/topic/2154385</link>
            <description>Hello,&lt;br /&gt;This is my code:-&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&amp;#60;?php&lt;br /&gt;&amp;#036;query2=mysql_query&amp;#40;&amp;#34;SELECT * FROM blogger&amp;#34;&amp;#41; or die&amp;#40;mysql_error&amp;#40;&amp;#41;&amp;#41;;&lt;br /&gt;while&amp;#40;&amp;#036;row2 = mysql_fetch_array&amp;#40;&amp;#036;query2&amp;#41;&amp;#41;{&lt;br /&gt;&amp;#036;current_posting_date = &amp;#036;row2&amp;#91;&amp;#34;next_posting_date&amp;#34;&amp;#93;;&lt;br /&gt;&amp;#036;posting_frequency = &amp;#036;row2&amp;#91;&amp;#34;posting_frequency&amp;#34;&amp;#93;;&lt;br /&gt;&amp;#036;future_posting_date = date&amp;#40;&amp;#39;Y-m-d&amp;#39;, strtotime&amp;#40;&amp;#036;current_posting_date.&amp;#39;+&amp;#39;.&amp;#036;posting_frequency.&amp;#39; day&amp;#39;&amp;#41;&amp;#41;;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;#036;query4=mysql_query&amp;#40;&amp;#34;UPDATE blogger SET next_posting_date = &amp;#39;&amp;#036;future_posting_date&amp;#39;&amp;#34;&amp;#41; or die&amp;#40;mysql_error&amp;#40;&amp;#41;&amp;#41;;&lt;br /&gt;?&amp;#62;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;In &amp;#036;query4, I&amp;#39;d like to update next_posting_date with the results of &amp;#036;future_posting_date bearing in mind that &amp;#036;future_posting_date for each record would be different. How do I achieve this?&lt;br /&gt;&lt;br /&gt;Explained slightly differently, the results of &amp;#036;future_posting_date could be as follows:-&lt;br /&gt;2011-12-18(for record 1)&lt;br /&gt;2011-12-19(for record 2)&lt;br /&gt;2011-12-20(for record 3)&lt;br /&gt;&lt;br /&gt;How do I update record 1 of next_posting_date with 2011-12-18, record 2 of next_posting_date with 2011-12-19 and record 3 of next_posting_date with 2011-12-20?&lt;br /&gt;&lt;br /&gt;Thanks for your help.&lt;br /&gt;&lt;br /&gt;</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Sun, 18 Dec 2011 19:07:22 +0800</pubDate>
        </item>
        <item>
            <title>strtotime php question</title>
            <link>http://forum.lowyat.net/topic/2151747</link>
            <description>Hello,&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&amp;#60;?php&lt;br /&gt;//this code does not work&lt;br /&gt;&amp;#036;test_date = &amp;#34;2011-12-25&amp;#34;;&lt;br /&gt;&amp;#036;ts = strtotime&amp;#40;&amp;#39;&amp;#036;test_date +90 days&amp;#39;&amp;#41;;&lt;br /&gt;echo date&amp;#40;&amp;#39;Y-m-d&amp;#39;, &amp;#036;ts&amp;#41;, &amp;#39;&amp;#60;br /&amp;#62;&amp;#39;;&lt;br /&gt;?&amp;#62;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&amp;#60;?php&lt;br /&gt;//this code works &amp;#58;-&amp;#41;&lt;br /&gt;&amp;#036;ts = strtotime&amp;#40;&amp;#39;2011-12-25 +90 days&amp;#39;&amp;#41;;&lt;br /&gt;echo date&amp;#40;&amp;#39;Y-m-d&amp;#39;, &amp;#036;ts&amp;#41;, &amp;#39;&amp;#60;br /&amp;#62;&amp;#39;;&lt;br /&gt;?&amp;#62;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;I want to put the date(2011-12-25) into a variable(&amp;#036;test_date) like the 1st example. How do I do it?&lt;br /&gt;&lt;br /&gt;Thanks.</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Fri, 16 Dec 2011 16:24:24 +0800</pubDate>
        </item>
        <item>
            <title>&amp;lt;option selected&amp;gt; Question &amp;lt;/option&amp;gt;</title>
            <link>http://forum.lowyat.net/topic/2057519</link>
            <description>Hi,&lt;br /&gt;This is my simple html code:-&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&amp;#60;select size=&amp;#34;1&amp;#34; id=&amp;#34;program_name&amp;#34; name=&amp;#34;program_name&amp;#34;&amp;#62;&lt;br /&gt;&amp;#60;option value=&amp;#34;PP&amp;#34;&amp;#62;Parliamentary Procedure in Action&amp;#60;/option&amp;#62;&lt;br /&gt;&amp;#60;option selected=&amp;#34;selected&amp;#34; value=&amp;#34;SC&amp;#34;&amp;#62;Speechcraft&amp;#60;/option&amp;#62;&lt;br /&gt;&amp;#60;option value=&amp;#34;EE&amp;#34;&amp;#62;The Art of Effective Evaluation&amp;#60;/option&amp;#62;&lt;br /&gt;&amp;#60;/select&amp;#62;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;I want the user to determine the default &lt;b&gt;&amp;lt;option selected&amp;gt;&lt;/b&gt; instead of me having to hardcode it into the webpage. This means that today the default &amp;lt;option selected&amp;gt; could be Speechcraft &amp;amp; tomorrow it could be The Art of Effective Evaluation.&lt;br /&gt;&lt;br /&gt;Is there a php / javascript solution to this?&lt;br /&gt;&lt;br /&gt;Thanks for your help.&lt;br /&gt;&lt;br /&gt;</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Tue, 04 Oct 2011 15:21:04 +0800</pubDate>
        </item>
        <item>
            <title>Insert Emails Into MySQL</title>
            <link>http://forum.lowyat.net/topic/2055520</link>
            <description>Hi,&lt;br /&gt;I want to extract emails from a textarea &amp;amp; insert it into a mysql database &lt;b&gt;comma delimited&lt;/b&gt;. My code below is working fine. It&amp;#39;s just that I don&amp;#39;t know how to comma delimit the email addresses before inserting them into the database.&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;&amp;#60;?php&lt;br /&gt;&amp;#036;text = &amp;#036;_REQUEST&amp;#91;&amp;#39;textarea1&amp;#39;&amp;#93;;&lt;br /&gt;&lt;br /&gt;// parse emails&lt;br /&gt;if &amp;#40;&amp;#33;empty&amp;#40;&amp;#036;text&amp;#41;&amp;#41; {&lt;br /&gt; &amp;nbsp;&amp;#036;res = preg_match_all&amp;#40;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&amp;#34;/&amp;#91;a-z0-9&amp;#93;+&amp;#40;&amp;#91;_&amp;#092;&amp;#092;.-&amp;#93;&amp;#91;a-z0-9&amp;#93;+&amp;#41;*@&amp;#40;&amp;#91;a-z0-9&amp;#93;+&amp;#40;&amp;#91;&amp;#092;.-&amp;#93;&amp;#91;a-z0-9&amp;#93;+&amp;#41;*&amp;#41;+&amp;#092;&amp;#092;.&amp;#91;a-z&amp;#93;{2,}/i&amp;#34;,&lt;br /&gt; &amp;nbsp; &amp;nbsp;&amp;#036;text, &amp;#036;matches &amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;if &amp;#40;&amp;#036;res&amp;#41; {&lt;br /&gt; &amp;nbsp; &amp;nbsp;foreach&amp;#40;array_unique&amp;#40;&amp;#036;matches&amp;#91;0&amp;#93;&amp;#41; as &amp;#036;email3&amp;#41; {&lt;br /&gt;&amp;#036;result8=mysql_query&amp;#40;&amp;#34;INSERT INTO `public_event_admin` &amp;#40;`email`&amp;#41; VALUES &amp;#40;&amp;#39;&amp;#036;email3&amp;#39;&amp;#41;&amp;#34;&amp;#41; or die&amp;#40;mysql_error&amp;#40;&amp;#41;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt; &amp;nbsp;}&lt;br /&gt; &amp;nbsp;else {&lt;br /&gt; &amp;nbsp; &amp;nbsp;echo &amp;#34;No emails found.&amp;#34;;&lt;br /&gt; &amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;?&amp;#62;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;</description>
            <author>transfield</author>
            <category>Codemasters</category>
            <pubDate>Mon, 03 Oct 2011 02:07:48 +0800</pubDate>
        </item>
    </channel>
</rss>
