<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by conmen80</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Mon, 08 Jun 2026 17:09:13 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Parking at KLIA2</title>
            <link>http://forum.lowyat.net/topic/4651098</link>
            <description>Can anyone recommend budget parking area nearby KLIA2, I likely to take KLIA transit but the train is not operate in hour 4am morning. &lt;br /&gt;&lt;br /&gt;I rather drive and park around there more than take cab/grab, the fare is higher during mid-night hour, compare with the fares (go &amp;amp; back) I think its way more saving by paying the parking fee. (5 days parking)&lt;br /&gt;&lt;br /&gt;Please advise, thanks&amp;#33;&amp;#33;</description>
            <author>conmen80</author>
            <category>Serious Kopitiam</category>
            <pubDate>Wed, 05 Sep 2018 09:23:02 +0800</pubDate>
        </item>
        <item>
            <title>[WTA] Kitchen concrete tabletop contractor</title>
            <link>http://forum.lowyat.net/topic/3781422</link>
            <description>Can any contractor quot me to build a basic concrete tabletop at kitchen (without cabinet)?&lt;br /&gt;&lt;br /&gt;L shape 19 sqft, with 2 inches raise up from the floor.&lt;br /&gt;&lt;br /&gt;Kindly PM me.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Location Puchong.</description>
            <author>conmen80</author>
            <category>Home Renovations and Interior Design</category>
            <pubDate>Fri, 20 Nov 2015 16:59:39 +0800</pubDate>
        </item>
        <item>
            <title>[WTR] Town Villa, Taman Tasik Puchong</title>
            <link>http://forum.lowyat.net/topic/3772550</link>
            <description>&lt;span style='font-size:14pt;line-height:100%'&gt;&lt;span style='color:blue'&gt;RENTED&amp;#33; THANK YOU.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Townhouse for rent (Upper Unit)&lt;br /&gt;&lt;br /&gt;Corner unit with plenty of parking space, grilled windows &amp;amp; doors, lighting &amp;amp; ceiling fan ready. &lt;br /&gt;Easily access to LDP and Kajang/Puchong, as well as both Cyberjaya and Putrajaya.&lt;br /&gt;&lt;br /&gt;Nearby amenities include school, petrol stations, laundry, commercial centre such as Puchong Night Bazaar, AEON Big &amp;amp; Tesco Extra.&lt;br /&gt;&lt;br /&gt;Built-up: 1075 sf&lt;br /&gt;Bedrooms : 3&lt;br /&gt;Bathrooms : 2&lt;br /&gt;Car Porch : 1&lt;br /&gt;24 hours Gated &amp;amp; Guarded&lt;br /&gt;&lt;br /&gt;Please SMS/Whatsapp/Call @ 012 XXX XXXX Kenneth (Owner)</description>
            <author>conmen80</author>
            <category>Property For Sale</category>
            <pubDate>Thu, 12 Nov 2015 14:12:14 +0800</pubDate>
        </item>
        <item>
            <title>[WTS] DLink DIR-615 Router</title>
            <link>http://forum.lowyat.net/topic/3207939</link>
            <description>Item 1: DLink DIR-615 Router (&lt;a href='http://www.dlink.com/us/en/home-solutions/connect/routers/dir-615-wireless-n-300-router' target='_blank'&gt;See Specs&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;Package includes: Router, CAT 5e Cable x 2, Power adapter&lt;br /&gt;&lt;br /&gt;Price: sold&lt;br /&gt;&lt;br /&gt;Item(s) conditions: 100% Working&lt;br /&gt;&lt;br /&gt;[attachmentid=3949355]&lt;br /&gt;&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Item 2: IPTV Set-Top Box&lt;br /&gt;&lt;br /&gt;Package includes: Router, CAT 5e Cable x 2, Power adapter&lt;br /&gt;&lt;br /&gt;Price: &lt;b&gt;SOLD&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Item(s) conditions: Like new, never been use.&lt;br /&gt;&lt;br /&gt;[attachmentid=3949376]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Warranty: Personal 7 days&lt;br /&gt;&lt;br /&gt;Dealing method: COD only&lt;br /&gt;&lt;br /&gt;Location of seller: Subang Jaya / KL&lt;br /&gt;&lt;br /&gt;Contact method/details: PM or 0125309740 (Whatsapp or SMS only)&lt;br /&gt;&lt;br /&gt;Age of item: 2 years&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Can buy separately&amp;#33;</description>
            <author>conmen80</author>
            <category>Garage Sales Archive</category>
            <pubDate>Mon, 28 Apr 2014 17:15:05 +0800</pubDate>
        </item>
        <item>
            <title>[WTS] Prolink 19 inch LCD Monitor</title>
            <link>http://forum.lowyat.net/topic/3207917</link>
            <description>&lt;b&gt;Item(s):&lt;/b&gt; PROLINK PRO1901W&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Package includes:&lt;/b&gt; LCD only&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Price:&lt;/b&gt; SOLD&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warranty:&lt;/b&gt; Personal 7 days&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Dealing method:&lt;/b&gt; COD only&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Location of seller:&lt;/b&gt; Subang Jaya / Wangsa Maju&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Contact method/details:&lt;/b&gt; PM / 0125309740 (Whatsapp or SMS only)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Age of item:&lt;/b&gt; 4 Yrs&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Item(s) conditions:&lt;/b&gt; Perfectly working condition&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reason for sale:&lt;/b&gt; Extra and rarely use&lt;br /&gt;&lt;br /&gt;More info: &lt;a href='http://dollarvietnam.com/?Id=EStore&amp;Act=View&amp;Man=Chitiet&amp;DoanhNghiep=prolink2u&amp;SanPham=6dc0a6b7c10f3b1b0c84b2beb5022e38' target='_blank'&gt;Specifications&lt;/a&gt;</description>
            <author>conmen80</author>
            <category>Garage Sales Archive</category>
            <pubDate>Mon, 28 Apr 2014 16:58:33 +0800</pubDate>
        </item>
        <item>
            <title>[WTS] FAULTY SAPPHIRE HD 3870</title>
            <link>http://forum.lowyat.net/topic/3207884</link>
            <description>&lt;b&gt;Item(s):&lt;/b&gt; SAPPHIRE HD 3870 512MB GDDR4&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Package includes:&lt;/b&gt; GC with box&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Price:&lt;/b&gt; RM40&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warranty:&lt;/b&gt; None&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Dealing method:&lt;/b&gt; COD only&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Location of seller:&lt;/b&gt; Subang Jaya / Wangsa Maju&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Contact method/details:&lt;/b&gt; PM or 0125309740 (SMS / Whatsapp Only)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Age of item:&lt;/b&gt; 5 Yrs&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Item(s) conditions:&lt;/b&gt; Half faulty, sometimes no display / appear distortion line on screen&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reason for sale:&lt;/b&gt; Better than just trash if can repair and use</description>
            <author>conmen80</author>
            <category>Display Cards Garage Sales</category>
            <pubDate>Mon, 28 Apr 2014 16:34:19 +0800</pubDate>
        </item>
        <item>
            <title>php explode elements in an array</title>
            <link>http://forum.lowyat.net/topic/2523471</link>
            <description>I have a text file which is store user parameters, and below is to search certain value from with in the text file and return a record, the record is shown as follow:&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;countryId&amp;#58;2, productId&amp;#58;1, status&amp;#58;1, pId&amp;#58;18, xId&amp;#58;pdgje5566&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now i wanted to explode each elements in an array:&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;nbsp; &amp;nbsp;Array&lt;br /&gt; &amp;nbsp; &amp;nbsp;&amp;#40;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#91;0&amp;#93; =&amp;#62; countryId&amp;#58;2, productId&amp;#58;1, status&amp;#58;1, pId&amp;#58;18, xId&amp;#58;pdgje5566&lt;br /&gt; &amp;nbsp; &amp;nbsp;&amp;#41;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;please see below for above array:&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;nbsp; &amp;nbsp;&amp;#036;searchfor = &amp;#036;xId;&lt;br /&gt;&lt;br /&gt;	header&amp;#40;&amp;#39;Content-Type&amp;#58; text/plain&amp;#39;&amp;#41;;&lt;br /&gt;	&lt;br /&gt;	&amp;#036;contents = file_get_contents&amp;#40;&amp;#036;file&amp;#41;;&lt;br /&gt;	&amp;#036;pattern = preg_quote&amp;#40;&amp;#036;searchfor, &amp;#39;/&amp;#39;&amp;#41;;&lt;br /&gt;	&amp;#036;pattern = &amp;#34;/^.*&amp;#036;pattern.*&amp;#092;&amp;#036;/m&amp;#34;;&lt;br /&gt;	&lt;br /&gt;	// search, and store all matching occurences in &amp;#036;matches&lt;br /&gt;	if&amp;#40;preg_match_all&amp;#40;&amp;#036;pattern, &amp;#036;contents, &amp;#036;matches&amp;#41;&amp;#41;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;&lt;br /&gt; &amp;nbsp; &amp;nbsp;print_r&amp;#40;&amp;#036;matches&amp;#91;0&amp;#93;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;//echo implode&amp;#40;&amp;#34;&amp;#092;n&amp;#34;, &amp;#036;matches&amp;#91;0&amp;#93;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&lt;br /&gt;	}&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;please advise, thanks.</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Tue, 25 Sep 2012 18:26:10 +0800</pubDate>
        </item>
        <item>
            <title>PHP Array Question</title>
            <link>http://forum.lowyat.net/topic/2140335</link>
            <description>Hi All,&lt;br /&gt;&lt;br /&gt;Pls refer to below, it will return an array key by value, how&amp;#39;s if the array has two or multiple same value is going to return?&lt;br /&gt;if I want to search key for &amp;#39;green&amp;#39;, it always pointed to &amp;#036;array2[0] instead of &amp;#036;array2[2], how if I want to return key for &amp;#036;array2[2] by the code below?&lt;br /&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;&lt;br /&gt;&amp;#60;?php&lt;br /&gt;&lt;br /&gt;&amp;#036;array1 = array&amp;#40;0 =&amp;#62; &amp;#39;a&amp;#39;, 1 =&amp;#62; &amp;#39;b&amp;#39;, 2 =&amp;#62; &amp;#39;c&amp;#39;, 3 =&amp;#62; &amp;#39;d&amp;#39;&amp;#41;;&lt;br /&gt;&amp;#036;array2 = array&amp;#40;0 =&amp;#62; &amp;#39;green&amp;#39;, 1 =&amp;#62; &amp;#39;red&amp;#39;, 2 =&amp;#62; &amp;#39;green&amp;#39;, 3 =&amp;#62; &amp;#39;red&amp;#39;&amp;#41;;&lt;br /&gt;&lt;br /&gt;&amp;#036;key1 = array_search&amp;#40;&amp;#39;c&amp;#39;, &amp;#036;array1&amp;#41;;        --&amp;#62; return 2&lt;br /&gt;&amp;#036;key2 = array_search&amp;#40;&amp;#39;green&amp;#39;, &amp;#036;array2&amp;#41;; --&amp;#62; expected to return 2 as well but always point to 0&lt;br /&gt;&lt;br /&gt;?&amp;#62;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;pls advise, thanks</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Thu, 08 Dec 2011 10:24:41 +0800</pubDate>
        </item>
        <item>
            <title>unserialize single quote</title>
            <link>http://forum.lowyat.net/topic/2137508</link>
            <description>Hi All,&lt;br /&gt;&lt;br /&gt;I had serialize data which stored into table as 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;&lt;br /&gt;a&amp;#58;5&amp;#58;{i&amp;#58;0;s&amp;#58;1&amp;#58;&amp;#34;1&amp;#34;;i&amp;#58;1;s&amp;#58;1&amp;#58;&amp;#34;1&amp;#34;;i&amp;#58;2;s&amp;#58;42&amp;#58;&amp;#34;abc&amp;#34;;i&amp;#58;3;s&amp;#58;25&amp;#58;&amp;#34;xyz&amp;#34;;i&amp;#58;4;s&amp;#58;36&amp;#58;&amp;#34;doesn&amp;#39;t means to haven&amp;#39;t get it done&amp;#34;;}&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;How could I get rid of those single quote when I unserialize the data?&lt;br /&gt;&lt;br /&gt;it caused me an error &lt;br /&gt;&lt;br /&gt;&amp;quot;You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &amp;#39;t means to haven&amp;#39;t get it done&amp;#39;&amp;#39; at line 1&amp;quot;&lt;br /&gt;&lt;br /&gt;Please advise, thanks.</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Tue, 06 Dec 2011 12:08:17 +0800</pubDate>
        </item>
        <item>
            <title>Jquery Mobile + PHP + PhoneGap</title>
            <link>http://forum.lowyat.net/topic/2123377</link>
            <description>Hi All,&lt;br /&gt;&lt;br /&gt;I am recently having self lessons on android apps by using JQM + PhoneGap + Eclipse, I was successful compiled it into apps and view on smartphone, I wonder is that possible to use PHP to interact between Mysql database in between when deploy in apps? how if I want to fetch data from table or use php to achieve some purpose like we normal use in webpage?&lt;br /&gt;&lt;br /&gt;pls advise, thanks  &lt;!--emo&amp;:)--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Fri, 25 Nov 2011 14:46:26 +0800</pubDate>
        </item>
        <item>
            <title>transform website to mobile web</title>
            <link>http://forum.lowyat.net/topic/2112462</link>
            <description>Hi all, I was wonder how www.youtube.com would transform url to m.youtube.com when using smartphone to view its contents which fit to their screen size, I had a website would like to make a similar way to view when using smartphone such as android and iphone.&lt;br /&gt;&lt;br /&gt;Pls advise, thanks&amp;#33;&amp;#33;</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Thu, 17 Nov 2011 11:15:42 +0800</pubDate>
        </item>
        <item>
            <title>Close website temporarily in PHP</title>
            <link>http://forum.lowyat.net/topic/2094727</link>
            <description>Hi All, I want to add a feature to my CMS to allows website could be temporary offline, how can I achieve this?&lt;br /&gt;&lt;br /&gt;Please advise, thanks.  &lt;!--emo&amp;:respect:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/notworthy.gif' border='0' style='vertical-align:middle' alt='notworthy.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Thu, 03 Nov 2011 15:55:01 +0800</pubDate>
        </item>
        <item>
            <title>PHP serialize problem</title>
            <link>http://forum.lowyat.net/topic/2058761</link>
            <description>Hi guys,&lt;br /&gt;&lt;br /&gt;I have a form with multiples dropdown box and multiples textbox with i need it submit and saved into mysql database,&lt;br /&gt;&lt;br /&gt;I want those submitted values insert into table by only 1 row, therefore I use serialize() function to achieved this kind of purpose, here is the problems, I want to join multiples option values and textbox values together, which serialized and store into a table cell by only one row, can it be possible done like this way?&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s come my script&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;&lt;br /&gt;&amp;#60;?php&lt;br /&gt;if&amp;#40;isset&amp;#40;&amp;#036;_POST&amp;#91;&amp;#34;btnSave&amp;#34;&amp;#93;&amp;#41;&amp;#41;{&lt;br /&gt;&lt;br /&gt;	&amp;#036;txtBox = mysql_real_escape_string&amp;#40;ucwords&amp;#40;&amp;#036;_POST&amp;#91;&amp;#34;txtBox_&amp;#34;.&amp;#036;section&amp;#93;&amp;#41;&amp;#41;;&lt;br /&gt;	&amp;#036;num_of_ques = mysql_num_rows&amp;#40;&amp;#036;q_ques&amp;#41;;&lt;br /&gt;	&lt;br /&gt;	for&amp;#40;&amp;#036;i=1; &amp;#036;i&amp;#60;=&amp;#036;num_of_ques; &amp;#036;i++&amp;#41;{&lt;br /&gt;  &amp;#036;txtOpt&amp;#91;&amp;#93; = &amp;#036;_POST&amp;#91;&amp;#34;txtOpt_&amp;#34;.&amp;#036;section.&amp;#34;_&amp;#34;.&amp;#036;i&amp;#93;;&lt;br /&gt;	}&lt;br /&gt;	&lt;br /&gt;	&lt;br /&gt;	if&amp;#40;&amp;#33;empty&amp;#40;&amp;#036;error&amp;#41;&amp;#41;{&lt;br /&gt;  echo &amp;#34;&amp;#60;script language=&amp;#39;javascript&amp;#39;&amp;#62;alert&amp;#40;&amp;#39;&amp;#34;.&amp;#036;error.&amp;#34;&amp;#39;&amp;#41;&amp;#60;/script&amp;#62;&amp;#34;;&lt;br /&gt;&lt;br /&gt;	}else{&lt;br /&gt;  &lt;br /&gt;  /* here my problems need to join &amp;#036;txtBox and &amp;#036;txtOpt together and serialize it */&lt;br /&gt;&lt;br /&gt;  &amp;#036;serialize_opt = serialize&amp;#40;&amp;#036;txtOpt&amp;#41;;&lt;br /&gt;    &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  /* Perform insert query */&lt;br /&gt;&lt;br /&gt;	}&lt;br /&gt;}&lt;br /&gt;?&amp;#62;&lt;br /&gt;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks and pls advise.</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Wed, 05 Oct 2011 12:16:10 +0800</pubDate>
        </item>
        <item>
            <title>PHP scripts to save current progress</title>
            <link>http://forum.lowyat.net/topic/2034292</link>
            <description>Hi all, i have a form to do questionnaire for market surveys up to 100+ question, I want it to allows user to save their progress from where he/she stop, and will  be able to continues the questions from where he/she last saved.&lt;br /&gt;&lt;br /&gt;For scenario example:&lt;br /&gt;&lt;br /&gt;User are answer the questions from Q1 to Q49 today, he/she want to carry on some others day, he/she might need to save all answers previously done and when the next time he/she come again, he/she will start from Q50 and all previous answers still remain.&lt;br /&gt;&lt;br /&gt;can it be done by php + mysql?&lt;br /&gt;&lt;br /&gt;Please advise me, thanks a lot.&lt;br /&gt;&lt;br /&gt; &lt;!--emo&amp;:)--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Thu, 15 Sep 2011 10:11:49 +0800</pubDate>
        </item>
        <item>
            <title>PHP jquery Post</title>
            <link>http://forum.lowyat.net/topic/1972035</link>
            <description>I got problem in sending onchange value through ajax post back to php variable, I use firebug to check the post parameters and it was returned the correct value,&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;select name=&amp;#34;cat&amp;#34; onchange=&amp;#34;ajaxFunction&amp;#40;&amp;#41;&amp;#34;&amp;#62;&lt;br /&gt;&amp;#60;option value=&amp;#34;&amp;#34;&amp;#62;All&amp;#60;/option&amp;#62;&lt;br /&gt;&amp;#60;option value=&amp;#34;n&amp;#34;&amp;#62;News&amp;#60;/option&amp;#62;&lt;br /&gt;&amp;#60;option value=&amp;#34;e&amp;#34;&amp;#62;Event&amp;#60;/option&amp;#62;&lt;br /&gt;&amp;#60;/select&amp;#62;&lt;br /&gt;&lt;br /&gt;&amp;#60;script type=&amp;#34;text/javascript&amp;#34;&amp;#62;&lt;br /&gt;function ajaxFunction&amp;#40;&amp;#41; {&lt;br /&gt;	&amp;#036;.post&amp;#40;&amp;#34;process.php&amp;#34;, { yr&amp;#58; &amp;#34;1&amp;#34;, cat&amp;#58; &amp;#34;e&amp;#34; } &amp;#41;;&lt;br /&gt;	return true;&lt;br /&gt;}&lt;br /&gt;&amp;#60;/script&amp;#62;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After I try echo to get the value, I can&amp;#39;t see any parameters returned. &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;echo &amp;#036;_POST&amp;#91;&amp;#39;yr&amp;#39;&amp;#93;;&lt;br /&gt;echo &amp;#036;_POST&amp;#91;&amp;#39;cat&amp;#39;&amp;#93;;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Can someone advise me?&lt;br /&gt;&lt;br /&gt;Thanks.</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Mon, 25 Jul 2011 17:50:01 +0800</pubDate>
        </item>
        <item>
            <title>Jquery Ajax Post</title>
            <link>http://forum.lowyat.net/topic/1962130</link>
            <description>Hi all,&lt;br /&gt;&lt;br /&gt;I have a list of records which loop from mysql table, for each record i had assigned an onclick function in order to pass the data for mysql query use to avoid page refresh whenever it was call,&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;a href=&amp;#39;javascript&amp;#58;void&amp;#40;0&amp;#41;&amp;#39; onclick=&amp;#39;PlayMV&amp;#40;&amp;#092;&amp;#34;&amp;#34;.&amp;#036;rows&amp;#91;&amp;#34;v_type&amp;#34;&amp;#93;.&amp;#34;&amp;#092;&amp;#34;,&amp;#092;&amp;#34;&amp;#34;.&amp;#036;rows&amp;#91;&amp;#34;v_id&amp;#34;&amp;#93;.&amp;#34;&amp;#092;&amp;#34;&amp;#41;;&amp;#39;&amp;#62;Play&amp;#60;/a&amp;#62;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;below is passing values to jquery function:&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;script type=&amp;#34;text/javascript&amp;#34;&amp;#62;&lt;br /&gt;function PlayMV&amp;#40;data1, data2&amp;#41;{&lt;br /&gt;	&amp;#036;.post&amp;#40;&amp;#34;mtv.php&amp;#34;, { var1&amp;#58; &amp;#34;data1&amp;#34;, var2&amp;#58; &amp;#34;data2&amp;#34; },&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;function&amp;#40;data&amp;#41;{&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert&amp;#40;&amp;#34;Data Loaded&amp;#58; &amp;#34; + data1 + &amp;#34;,&amp;#34; + data2&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&amp;#41;;&lt;br /&gt;}&lt;br /&gt;&amp;#60;/script&amp;#62;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;here is the problem, I want to post &amp;#39;data1&amp;#39; and &amp;#39;data2&amp;#39; assigned into a php variable, I can pop the alert up and show the correct data, somehow i don&amp;#39;t know to pass those data into mysql query to retrieve the final result, can anyone help?&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Mon, 18 Jul 2011 13:51:37 +0800</pubDate>
        </item>
        <item>
            <title>assign dropdown box to output variable</title>
            <link>http://forum.lowyat.net/topic/1804921</link>
            <description>Hi all,&lt;br /&gt;&lt;br /&gt;i had problem to assign dropdown box to &amp;#036;output variable, can anyone pls help to solve?&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;#036;output .= &amp;#34;&amp;#60;select name=&amp;#39;itm_status&amp;#39; style=&amp;#39;width&amp;#58;99px;&amp;#39;&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;option value=&amp;#39;Sent&amp;#39; &amp;#34;.if&amp;#40;&amp;#036;rows&amp;#91;&amp;#39;status&amp;#39;&amp;#93; == &amp;#39;Sent&amp;#39;&amp;#41;{ echo &amp;#39;selected&amp;#39; }.&amp;#34;&amp;#62;Sent&amp;#60;/option&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;option value=&amp;#39;Pending&amp;#39; &amp;#34;.if&amp;#40;&amp;#036;rows&amp;#91;&amp;#39;status&amp;#39;&amp;#93; == &amp;#39;Pending&amp;#39;&amp;#41;{ echo &amp;#39;selected&amp;#39; }.&amp;#34;&amp;#62;Pending&amp;#60;/option&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;option value=&amp;#39;Cancel&amp;#39; &amp;#34;.if&amp;#40;&amp;#036;rows&amp;#91;&amp;#39;status&amp;#39;&amp;#93; == &amp;#39;Cancel&amp;#39;&amp;#41;{ echo &amp;#39;selected&amp;#39; }.&amp;#34;&amp;#62;Cancel&amp;#60;/option&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#60;/select&amp;#62;&amp;#34;;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks.</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Thu, 24 Mar 2011 12:40:32 +0800</pubDate>
        </item>
        <item>
            <title>Need solution on getting loop variable pass to url</title>
            <link>http://forum.lowyat.net/topic/1707311</link>
            <description>Hi every gurus here, i was encounter problem in passing value into url, please refer to the script below, i have batch of records which fetch from database and had a quantity box and update button on each (using onclick updateValue() function), i created javascript array to get each quantity box value and each value to be assign to the url qty, this is the problem exist now, the url qty cannot get its exact value from qty[i] except I manually assigned the qty like qty[1], qty[2] and so on...for instance i got 3 quantity text box in a loop, each text box hold values like &amp;#39;1&amp;#39;,&amp;#39;2&amp;#39;,&amp;#39;3&amp;#39;, assume i onclick update button for record two, url will pass qty values like &amp;amp;qty=1,2,3 instead of &amp;amp;qty=2, this will causes my script couldn&amp;#39;t continually process without the exact value pass to qty&amp;#33;&lt;br /&gt;&lt;br /&gt;can anyone advise how to solve this issue in proper method?&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;script type=&amp;#34;text/javascript&amp;#34;&amp;#62;&lt;br /&gt;function updateValue&amp;#40;itemId,itemQty&amp;#41;{&lt;br /&gt;	var maxNum = &amp;#34;&amp;#60;?php echo &amp;#036;nMax; ?&amp;#62;&amp;#34;;&lt;br /&gt;	var qty = new Array&amp;#40;&amp;#41;;&lt;br /&gt;	&lt;br /&gt;	for&amp;#40;var i=1; i&amp;#60;=maxNum; i++&amp;#41;{&lt;br /&gt;  qty&amp;#91;i&amp;#93; = document.getElementById&amp;#40;&amp;#39;txtQty_&amp;#39;+i&amp;#41;.value;&lt;br /&gt;	}&lt;br /&gt;	&lt;br /&gt;	&amp;#91;bad html removed&amp;#93;alert&amp;#40;&amp;#39;&amp;amp;itm=&amp;#39;+itemId+&amp;#39;&amp;amp;qty=&amp;#39;+qty&amp;#41;;--&amp;#62;&lt;br /&gt;	self.location = &amp;#39;?act=updateCart&amp;amp;itm=&amp;#39;+itemId+&amp;#39;&amp;amp;qty=&amp;#39;+qty;&lt;br /&gt;}&lt;br /&gt;&amp;#60;/script&amp;#62;&lt;br /&gt;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;thanks.  &lt;!--emo&amp;:respect:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/notworthy.gif' border='0' style='vertical-align:middle' alt='notworthy.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Fri, 07 Jan 2011 13:46:04 +0800</pubDate>
        </item>
        <item>
            <title>Submit button keeps pointed to last row.</title>
            <link>http://forum.lowyat.net/topic/1685914</link>
            <description>Hi all expert here,&lt;br /&gt;&lt;br /&gt;please refer to attached image, I had a table which mainly stored add-to-cart items, user might able to check what&amp;#39;s item was in their cart and do remove or update item&amp;#39;s quantity as like common cart we use for online shopping. I was able to loop and called up related records from add-to-cart table and show on front-end, the problem is the submit button (update button), its always post back / pointed to last record, which is J001 with quantity &amp;#39;7&amp;#39; although I try to update K001 or P001 item&amp;#39;s quantity, is that any method to solve this kind of problem?&lt;br /&gt;&lt;br /&gt;The form I&amp;#39;ve use is POST method, below echoes is a test whether the submission passing the correct values (unfortunately its keeps return me last row).&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;if&amp;#40;isset&amp;#40;&amp;#036;_POST&amp;#91;&amp;#34;btnUpdate&amp;#34;&amp;#93;&amp;#41;&amp;#41;{&lt;br /&gt;&amp;#036;itm_qty = &amp;#036;_POST&amp;#91;&amp;#34;txtQty&amp;#34;&amp;#93;;&lt;br /&gt;&amp;#036;hidden_id = &amp;#036;_POST&amp;#91;&amp;#34;hidden_id&amp;#34;&amp;#93;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;echo &amp;#036;itm_qty.&amp;#34;&amp;#60;br&amp;#62;&amp;#34;.&amp;#036;hidden_id.&amp;#34;&amp;#60;br&amp;#62;&amp;#34;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;#60;input type=&amp;#39;text&amp;#39; name=&amp;#39;txtQty&amp;#39; value=&amp;#39;&amp;#34;.&amp;#036;rows&amp;#91;&amp;#39;totalInCart&amp;#39;&amp;#93;.&amp;#34;&amp;#39;&amp;#62;&lt;br /&gt;&amp;#60;input type=&amp;#39;hidden&amp;#39; name=&amp;#39;hidden_id&amp;#39; value=&amp;#39;&amp;#34;.&amp;#036;rows&amp;#91;&amp;#39;itm_id&amp;#39;&amp;#93;.&amp;#34;&amp;#39;&amp;#62;&lt;br /&gt;&amp;#60;button type=&amp;#39;submit&amp;#39; name=&amp;#39;btnUpdate&amp;#39;&amp;#62;Update&amp;#60;/button&amp;#62; &amp;nbsp;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;Thanks to everyone to give me solution or advise.&lt;br /&gt;&lt;br /&gt;</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Tue, 21 Dec 2010 16:24:51 +0800</pubDate>
        </item>
        <item>
            <title>Pass value without reveal information through URL</title>
            <link>http://forum.lowyat.net/topic/1669191</link>
            <description>Hi all, how could I press a button to submit values without reveal those passing info, i call all related data from database and had a button to onclick below link to update an cart quantity. &lt;br /&gt;&lt;br /&gt;this is the button use for each record called from database&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;button type=&amp;#39;button&amp;#39; onclick=&amp;#39;location.href=&amp;#092;&amp;#34;&amp;#34;.&amp;#036;self.&amp;#34;?action=update&amp;amp;product=&amp;#34;.&amp;#036;rows&amp;#91;&amp;#39;cart_product_id&amp;#39;&amp;#93;.&amp;#34;&amp;amp;quantity=&amp;#34;.rows&amp;#91;&amp;#39;totalInCart&amp;#39;&amp;#93;.&amp;#34;&amp;#092;&amp;#34;&amp;#39;&amp;#62;Update&amp;#60;/button&amp;#62;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;this is the url to pass value&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;http&amp;#58;//sitename.com/cart.php?action=update&amp;amp;product=00013&amp;amp;quantity=28&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;pls advise and thanks.  &lt;!--emo&amp;:respect:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/notworthy.gif' border='0' style='vertical-align:middle' alt='notworthy.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>conmen80</author>
            <category>Codemasters</category>
            <pubDate>Wed, 08 Dec 2010 18:32:25 +0800</pubDate>
        </item>
    </channel>
</rss>
