<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by Masafum1</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Fri, 05 Jun 2026 08:04:18 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>WTB SWA 8500s or equivalent for Samsung HW550M</title>
            <link>http://forum.lowyat.net/topic/5179565</link>
            <description>Hi All,&lt;br /&gt;&lt;br /&gt;Looking to buy SWA 8500s or equivalent for my Samsung HW550M&lt;br /&gt;&lt;br /&gt;Please pm me if any reseller has it</description>
            <author>Masafum1</author>
            <category>Music Players and Audio Accessories Garage Sales</category>
            <pubDate>Sat, 07 Aug 2021 17:50:35 +0800</pubDate>
        </item>
        <item>
            <title>Air Fryer above Microwave</title>
            <link>http://forum.lowyat.net/topic/4579551</link>
            <description>Hi everyone, just wondering is it safe to put airfryer above microwave,  will the use of either appliance damage the other?&lt;br /&gt;&lt;br /&gt;Also, lets say I plug both the airfryer and microwave to the same extension cord, can I use both of them at the same time?</description>
            <author>Masafum1</author>
            <category>The Museum Of Kopitiam</category>
            <pubDate>Wed, 09 May 2018 20:43:36 +0800</pubDate>
        </item>
        <item>
            <title>Abandoned kitten</title>
            <link>http://forum.lowyat.net/topic/4397733</link>
            <description>On Sunday morning I found a kitten near my house, estimate age is 1 or 2 days because I can see the kitten fur is glisten, ear close and eye also close and yet there is no blood or sac like thing.&lt;br /&gt;&lt;br /&gt;I immediately stay away from the car as my friend told me that one must not touch new born kitten else the mother will reject the kitten.&lt;br /&gt;&lt;br /&gt;When I got back home that evening, the kitten is gone so I guess the cat mother taking care of the kitten, however today I found the same kitten near my house again, except this time the kitten is in box.  I decided to leave the kitten alone thinking the mother will be back, however when I check back 3 hours later, the kitten is still there and it start to shiver badly. I immediately gave the kitten some rags and the rags did it jobs..  4 hours after that I check the kitten is still in the same place and is quite weak...&lt;br /&gt;&lt;br /&gt;Is the kitten already abandoned by its mother? What should I do?</description>
            <author>Masafum1</author>
            <category>Pets Wonderland</category>
            <pubDate>Mon, 28 Aug 2017 20:38:18 +0800</pubDate>
        </item>
        <item>
            <title>auto increment when accepted.</title>
            <link>http://forum.lowyat.net/topic/3974725</link>
            <description>hi, its me again.  Now i have been assigned to upgrade the registration system, current system can do student registration, the upgrade that i have been assigned is that I need to make the system to assign a number (in auto increment order) after staff have review the student detail and approved the student.&lt;br /&gt;&lt;br /&gt;the problem is that, i just can&amp;#39;t figure out the theory how to assign an auto increment number to the row when click approved.&lt;br /&gt;&lt;br /&gt;I have theoretically solve the first problem, which is by using jquerydatatable to call the data from database and display it on the table and then create a button for each row that if click will assign value &amp;quot;yes&amp;quot; to the column &amp;quot;approval&amp;quot; (using UPDATE and WHERE) which will give that row the value &amp;quot;yes&amp;quot; for its approval column, but how do then i assign an auto increment number? i read around that i can use &amp;quot;i + 1&amp;quot;  but how do i set value &amp;quot; i &amp;quot; so that it will choose the biggest value in the column?&lt;br /&gt;&lt;br /&gt;summoning [@alien3d], [@ungka]</description>
            <author>Masafum1</author>
            <category>Codemasters</category>
            <pubDate>Tue, 14 Jun 2016 12:53:53 +0800</pubDate>
        </item>
        <item>
            <title>Check IC with Ajax. Problem with returning result</title>
            <link>http://forum.lowyat.net/topic/3961601</link>
            <description>Hello, its me again.  So right now i am stuck with checking result with ajax.  The problem is as follows&lt;br /&gt;&lt;br /&gt;Right now, what i want to do is that when user entered their ic number, the system will check whether the ic number exist in the database and will return appropriate result.  the problem that i have is that the result return is not appropriate (meaning, even if the ic number is there, it return result error)&lt;br /&gt;&lt;br /&gt;the following is the code:&lt;br /&gt;&lt;br /&gt;The javascript (it has a mix of checking the amount of digit)&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&amp;#62;&lt;br /&gt;&amp;#036;&amp;#40;document&amp;#41;.ready&amp;#40;function&amp;#40;&amp;#41;{&lt;br /&gt;	&amp;#036;&amp;#40;&amp;#39;#check_status&amp;#39;&amp;#41;.keyup&amp;#40;function&amp;#40;&amp;#41;{&lt;br /&gt; &amp;nbsp;var lgth = &amp;#036;&amp;#40;&amp;#39;#check_status&amp;#39;&amp;#41;.val&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;if&amp;#40;lgth.length &amp;#62; 11&amp;#41;&lt;br /&gt; &amp;nbsp;{&lt;br /&gt; &amp;nbsp;	if&amp;#40;lgth.length &amp;#60; 13&amp;#41;&lt;br /&gt; &amp;nbsp;	{&lt;br /&gt; &amp;nbsp;	&amp;#036;&amp;#40;&amp;#39;#result&amp;#39;&amp;#41;.html&amp;#40;&amp;#39;Checking...&amp;#39;&amp;#41;;&lt;br /&gt; &amp;nbsp;	check_result&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp;	}&lt;br /&gt; &amp;nbsp;	else&lt;br /&gt; &amp;nbsp;	{&lt;br /&gt; &amp;nbsp;	&amp;#036;&amp;#40;&amp;#39;#result&amp;#39;&amp;#41;.html&amp;#40;&amp;#39;Nombor IC tidak boleh lebih dari 12 digit&amp;#39;&amp;#41;;	&lt;br /&gt; &amp;nbsp;	}&lt;br /&gt; &amp;nbsp;}&lt;br /&gt; &amp;nbsp;else&lt;br /&gt; &amp;nbsp;{&lt;br /&gt; &amp;nbsp;&amp;#036;&amp;#40;&amp;#39;#result&amp;#39;&amp;#41;.html&amp;#40;&amp;#39;Nombor IC tidak boleh kurang dari 12 digit&amp;#39;&amp;#41;;	&lt;br /&gt; &amp;nbsp;}	&lt;br /&gt;&lt;br /&gt;	//cleanupstring&lt;br /&gt; &amp;nbsp; &amp;nbsp;var x = document.getElementById&amp;#40;&amp;#34;check_status&amp;#34;&amp;#41;;&lt;br /&gt;	x.value = x.value.replace&amp;#40;/&amp;#91;&amp;#092;s&amp;#93;/g, &amp;#39;&amp;#39;&amp;#41;;&lt;br /&gt;	x.value = x.value.replace&amp;#40;/&amp;#91;a-zA-Z&amp;#93;/g, &amp;#39;&amp;#39;&amp;#41;;&lt;br /&gt;	x.value = x.value.replace&amp;#40;/&amp;#91;^&amp;#092;sa-zA-Z0-9&amp;#93;/g, &amp;#39;&amp;#39;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&lt;br /&gt;	}&amp;#41;;&lt;br /&gt;}&amp;#41;;&lt;br /&gt;&lt;br /&gt;//Check result function&lt;br /&gt;function check_result&amp;#40;&amp;#41;{&lt;br /&gt;	//get ic number &lt;br /&gt;	var check_status = &amp;#036;&amp;#40;&amp;#39;#check_status&amp;#39;&amp;#41;.val&amp;#40;&amp;#41;;&lt;br /&gt;	&lt;br /&gt;	//ajax post to check the data&lt;br /&gt;	&amp;#036;.post&amp;#40;&amp;#34;check_status.php&amp;#34;, {check_status&amp;#58; check_status },&lt;br /&gt; &amp;nbsp;function &amp;#40;result&amp;#41;{&lt;br /&gt; &amp;nbsp;	//if result is 1&lt;br /&gt; &amp;nbsp;	if&amp;#40;result == 1&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;	&amp;#036;&amp;#40;&amp;#34;#result&amp;#34;&amp;#41;.html&amp;#40;&amp;#39;check complete&amp;#39;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	&amp;#036;&amp;#40;&amp;#34;#result1&amp;#34;&amp;#41;.html&amp;#40;&amp;#39;result true&amp;#39;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt; &amp;nbsp;	else&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp;	&amp;#036;&amp;#40;&amp;#34;#result&amp;#34;&amp;#41;.html&amp;#40;&amp;#39;check complete&amp;#39;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	&amp;#036;&amp;#40;&amp;#34;#result1&amp;#34;&amp;#41;.html&amp;#40;&amp;#39;result-error&amp;#39;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt; &amp;nbsp;}&amp;#41;;&lt;br /&gt;}&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;The form&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;div class=&amp;#34;w3-content w3-center&amp;#34;&amp;#62;&lt;br /&gt;	&amp;#60;form class=&amp;#34;w3-form&amp;#34; method=&amp;#34;post&amp;#34;&amp;#62;&lt;br /&gt; &amp;nbsp;&lt;br /&gt; &amp;nbsp;	Nombor Kad Pengenalan &amp;#58; &lt;br /&gt; &amp;nbsp;	&amp;#60;input type=&amp;#34;text&amp;#34; name=&amp;#34;check_status&amp;#34; id=&amp;#34;check_status&amp;#34; &amp;nbsp;placeholder=&amp;#34;750000110000&amp;#34;&amp;#62;&lt;br /&gt; &amp;nbsp;	&amp;#60;div class=&amp;#34;result&amp;#34; id=&amp;#34;result&amp;#34;&amp;#62;&amp;#60;/div&amp;#62;&lt;br /&gt; &amp;nbsp;&lt;br /&gt;	&amp;#60;/form&amp;#62;&lt;br /&gt;&amp;#60;/div&amp;#62;&lt;br /&gt;&lt;br /&gt;&amp;#60;hr&amp;#62;&lt;br /&gt;//this is the place where the check result came out&lt;br /&gt;&amp;#60;div id=&amp;#34;result1&amp;#34;&amp;#62;&amp;#60;/div&amp;#62;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;The php &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;include &amp;#39;connect.php&amp;#39;;&lt;br /&gt;&lt;br /&gt;&amp;#036;data = &amp;#91;&amp;#39;&amp;#58;check_status&amp;#39; =&amp;#62; &amp;#036;_POST&amp;#91;&amp;#39;check_status&amp;#39;&amp;#93;&amp;#93;;&lt;br /&gt;&lt;br /&gt;&amp;#036;stmt = &amp;#036;conn-&amp;#62;prepare&amp;#40;&amp;#34;SELECT ic FROM exam WHERE ic=&amp;#036;data &amp;#34;&amp;#41;;&lt;br /&gt;&amp;#036;stmt-&amp;#62;execute&amp;#40;&amp;#41;;&lt;br /&gt;&amp;#036;result=&amp;#036;stmt-&amp;#62;fetch&amp;#40;&amp;#41;;&lt;br /&gt;&lt;br /&gt;if &amp;#40;&amp;#036;result &amp;#62; 0&amp;#41;&lt;br /&gt;	{&lt;br /&gt; &amp;nbsp;echo &amp;#34;1&amp;#34;;&lt;br /&gt;	}&lt;br /&gt;else&lt;br /&gt;	{&lt;br /&gt; &amp;nbsp;echo &amp;#34;2&amp;#34;;&lt;br /&gt;	}&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;So that is all the code.  in the exam table i have input ic with value 666666224444 but regardless whether i have entered the same ic number or a different one, it all have the same result which is error.  &lt;br /&gt;&lt;br /&gt;so I suspect the reason the code failed is &lt;br /&gt;1 - I wrongly put the code &amp;#036;stmt = &amp;#036;conn-&amp;gt;prepare(&amp;quot;SELECT ic FROM exam WHERE ic=&amp;#036;data &amp;quot;);&lt;br /&gt;2 - I wrongly call the result &lt;br /&gt;&amp;#036;result=&amp;#036;stmt-&amp;gt;fetch();&lt;br /&gt;&lt;br /&gt;if (&amp;#036;result &amp;gt; 0)&lt;br /&gt;	{&lt;br /&gt;		echo &amp;quot;1&amp;quot;;&lt;br /&gt;	}&lt;br /&gt;else&lt;br /&gt;	{&lt;br /&gt;		echo &amp;quot;2&amp;quot;;&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;hope anyone can help me.. sifu2 please help me  &lt;!--emo&amp;:help:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/icon_question.gif' border='0' style='vertical-align:middle' alt='icon_question.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>Masafum1</author>
            <category>Codemasters</category>
            <pubDate>Mon, 30 May 2016 17:10:03 +0800</pubDate>
        </item>
        <item>
            <title>alert box after query</title>
            <link>http://forum.lowyat.net/topic/3957897</link>
            <description>hi, its me again.  thanks to everyone who help me previously.  &lt;br /&gt;now i am back with some other problem.&lt;br /&gt;&lt;br /&gt;right now, what i am trying to do is that after my form has finish query and insert the data to database, it will create a popup box that will popup that they have finish registering.  after that they will be redirected back to homepage.&lt;br /&gt;&lt;br /&gt;below is my code (short version of it)&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;prm = &lt;br /&gt;&amp;#91;&lt;br /&gt;&amp;#39;&amp;#58;nama&amp;#39; =&amp;#62; &amp;#036;_POST&amp;#91;&amp;#39;nama&amp;#39;&amp;#93;,&lt;br /&gt;&amp;#39;&amp;#58;ic&amp;#39; =&amp;#62; &amp;#036;_POST&amp;#91;&amp;#39;ic&amp;#39;&amp;#93;,&lt;br /&gt;&amp;#93;;&lt;br /&gt;&lt;br /&gt;&amp;#036;sql = &amp;#34;INSERT INTO exam &amp;#40;nama,ic&amp;#41; VALUES &amp;#40;&amp;#58;nama,&amp;#58;ic&amp;#41;&amp;#34;;&lt;br /&gt;&lt;br /&gt;&amp;#036;qry = &amp;#036;conn-&amp;#62;prepare&amp;#40;&amp;#036;sql&amp;#41;;&lt;br /&gt;&amp;#036;qry-&amp;#62;execute&amp;#40;&amp;#036;prm&amp;#41;;&lt;br /&gt;?&amp;#62;&lt;br /&gt;	&amp;#60;script type=&amp;#34;text/javascript&amp;#34;&amp;#62;&lt;br /&gt;	alert&amp;#40;&amp;#39;Tahniah, anda sudah memohon untuk peperiksaan&amp;#41;;&lt;br /&gt;	&amp;#60;/script&amp;#62;&lt;br /&gt;&amp;#60;?php&lt;br /&gt;header&amp;#40;&amp;#34;location&amp;#58;index.php&amp;#34;&amp;#41;;&lt;br /&gt;?&amp;#62;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;but the problem is that after it finish query (and the data has been entered to database) no pop up shows up and the page is immediately redirected to homepage.  So what did i do wrong? because i look up at w3school and i believe my script to show alert is correct.&lt;br /&gt;&lt;br /&gt;hope sifu2 can help me.. (codemaster is for me a malaysia stack overflow)&lt;br /&gt;summoning @ungka @alien3d @Eulm&lt;br /&gt;&lt;br /&gt;ps: how do we  tag someone here at this forum?</description>
            <author>Masafum1</author>
            <category>Codemasters</category>
            <pubDate>Thu, 26 May 2016 12:15:29 +0800</pubDate>
        </item>
        <item>
            <title>form validation without submit.</title>
            <link>http://forum.lowyat.net/topic/3949831</link>
            <description>first, thank you all for helping me solve the pdo insert query problem that i have before. &lt;br /&gt;&lt;br /&gt;Now, as i complete the form and validation (using php) that only validate after submit button is click, my boss has ordered me to do form validation without clicking submit button.&lt;br /&gt;I understand as the reasoning is to improve the user experience, so i try to research about it&lt;br /&gt;After research, i found out that this is may be possible by combining jquery .blur and ajax &amp;#036;.post function which make the form to be able to validate once user has finish typing in the input form and go to fill other input.  So my question is how to combine it with my php validation code?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;the following is the form (short version)&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;form class=&amp;#34;form-basic&amp;#34; action=&amp;#34;s29regform.php&amp;#34; method=&amp;#34;post&amp;#34;&amp;#62;&lt;br /&gt; &amp;nbsp;	&amp;#60;div class=&amp;#34;form-row&amp;#34;&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&amp;#60;label&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	&amp;#60;span&amp;#62;Nama&amp;#60;/span&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	&amp;#60;input type=&amp;#34;text&amp;#34; name=&amp;#34;nama&amp;#34; &amp;nbsp;required autofocus/&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&amp;#60;/label&amp;#62;&lt;br /&gt; &amp;nbsp;	&amp;#60;/div&amp;#62;&lt;br /&gt;&lt;br /&gt; &amp;nbsp;	&amp;#60;div class=&amp;#34;form-row&amp;#34;&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&amp;#60;label&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	&amp;#60;span&amp;#62;No. Kad Pengenalan&amp;#60;/span&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp;	&amp;#60;input type=&amp;#34;text&amp;#34; name=&amp;#34;ic&amp;#34; required/&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&amp;#60;/label&amp;#62;&lt;br /&gt; &amp;nbsp;	&amp;#60;/div&amp;#62;&lt;br /&gt;&amp;#60;/form&amp;#62;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;next is my php code for quering it (short version)&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;include &amp;#39;connect.php&amp;#39;;&lt;br /&gt;&lt;br /&gt;include &amp;#39;convalid.php&amp;#39;;&lt;br /&gt;	&lt;br /&gt;&amp;#036;prm = &amp;#91;&lt;br /&gt;&amp;#39;&amp;#58;nama&amp;#39; =&amp;#62; &amp;#036;_POST&amp;#91;&amp;#39;nama&amp;#39;&amp;#93;,&lt;br /&gt;&amp;#39;&amp;#58;ic&amp;#39; =&amp;#62; &amp;#036;_POST&amp;#91;&amp;#39;ic&amp;#39;&amp;#93;,&lt;br /&gt;&amp;#93;;&lt;br /&gt;&lt;br /&gt;&amp;#036;sql = &amp;#34;INSERT INTO s29exam &amp;#40;nama,ic&amp;#41; VALUES &amp;#40;&amp;#58;nama,&amp;#58;ic&amp;#41;&amp;#34;;&lt;br /&gt;&lt;br /&gt;&amp;#036;qry = &amp;#036;conn-&amp;#62;prepare&amp;#40;&amp;#036;sql&amp;#41;;&lt;br /&gt;&amp;#036;qry-&amp;#62;execute&amp;#40;&amp;#036;prm&amp;#41;;&lt;br /&gt;?&amp;#62;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;and this is my convalid.php which contain my code to validate the post (thus is why i put it on top of the query first) (also short version)&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;//validation untuk nama&lt;br /&gt;&lt;br /&gt;	require_once&amp;#40;&amp;#39;WDC.php&amp;#39;&amp;#41;;&lt;br /&gt;&lt;br /&gt;	&amp;#036;text &amp;nbsp; &amp;nbsp; = &amp;#036;_POST&amp;#91;&amp;#39;nama&amp;#39;&amp;#93;;&lt;br /&gt;	&amp;#036;allowed &amp;nbsp;= &amp;#34;a-zA-Z @ -&amp;#34;;&lt;br /&gt;	&amp;#036;required = &amp;#34;&amp;#34;;&lt;br /&gt;	&amp;#036;result = ValidateText&amp;#40;&amp;#036;text, 1, 100, &amp;#036;allowed, &amp;#036;required&amp;#41;;&lt;br /&gt;&lt;br /&gt;	if &amp;#40;&amp;#036;result&amp;#91;0&amp;#93; == FALSE&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;for &amp;#40;&amp;#036;j = 0&amp;#59; &amp;#036;j &amp;#60; count&amp;#40;&amp;#036;result&amp;#91;1&amp;#93;&amp;#41;&amp;#59; ++&amp;#036;j&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;die&amp;#40; &amp;#34;  &amp;#34; . &amp;#036;result&amp;#91;1&amp;#93;&amp;#91;&amp;#036;j&amp;#93; . &amp;#34; . &amp;nbsp;Please refill the form&amp;#60;br&amp;#62;&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp;&lt;br /&gt;//validation untuk ic&lt;br /&gt;&lt;br /&gt;	require_once&amp;#40;&amp;#39;WDC.php&amp;#39;&amp;#41;;&lt;br /&gt;&lt;br /&gt;	&amp;#036;text &amp;nbsp; &amp;nbsp; = &amp;#036;_POST&amp;#91;&amp;#39;ic&amp;#39;&amp;#93;;&lt;br /&gt;	&amp;#036;allowed &amp;nbsp;= &amp;#34;0-9&amp;#34;;&lt;br /&gt;	&amp;#036;required = &amp;#34;d&amp;#34;;&lt;br /&gt;	&amp;#036;result = ValidateText&amp;#40;&amp;#036;text, 12, 12, &amp;#036;allowed, &amp;#036;required&amp;#41;;&lt;br /&gt;&lt;br /&gt;	if &amp;#40;&amp;#036;result&amp;#91;0&amp;#93; == FALSE&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;for &amp;#40;&amp;#036;j = 0&amp;#59; &amp;#036;j &amp;#60; count&amp;#40;&amp;#036;result&amp;#91;1&amp;#93;&amp;#41;&amp;#59; ++&amp;#036;j&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;die&amp;#40; &amp;#34;  Your IC &amp;#34; . &amp;#036;result&amp;#91;1&amp;#93;&amp;#91;&amp;#036;j&amp;#93; . &amp;#34;. Please refill the form&amp;#60;br&amp;#62;&amp;#34;&amp;#41;;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;this is the wdc.php, which contain the recipe for validation&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;function ValidateText&amp;#40;&amp;#036;text, &amp;#036;minlength, &amp;#036;maxlength, &amp;#036;allowed, &amp;#036;required&amp;#41; // Recipe 35&lt;br /&gt;{&lt;br /&gt; &amp;nbsp; // Recipe 35&amp;#58; Validate Text&lt;br /&gt; &amp;nbsp; //&lt;br /&gt; &amp;nbsp; // This recipe takes a string and parameters defining its&lt;br /&gt; &amp;nbsp; // minimum and maximum length, and the allowed characters.&lt;br /&gt; &amp;nbsp; // The arguments are&amp;#58;&lt;br /&gt; &amp;nbsp; //&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp;&amp;#036;text&amp;#58; &amp;nbsp; &amp;nbsp; &amp;nbsp;The text to be validate&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp;&amp;#036;minlength&amp;#58; The minimum allowed length&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp;&amp;#036;maxlength&amp;#58; The maximum allowed length&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp;&amp;#036;allowed&amp;#58; &amp;nbsp; The allowed characters. Can include regexp&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;strings such as a-zA-Z0-9 or &amp;#092;w. Characters&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;used in regular expressions but which are&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;to be allowed &amp;#40;such as &amp;#40; and &amp;#91; etc&amp;#41; should&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;be escaped, like this&amp;#58; &amp;#092;&amp;#40; and &amp;#092;&amp;#91;.&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp;&amp;#036;required&amp;#58; &amp;nbsp;The required characters. This argument&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;is a string containing one or more of the&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;letters a, l, u, d, w or p for any letter,&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lower case, upper case, digit, word &amp;#40;any&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lower, upper, digit or _&amp;#41; or punctuation.&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;For each of these included, at least one of&lt;br /&gt; &amp;nbsp; // &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;that type of character must be in the string&lt;br /&gt; &amp;nbsp; //&lt;br /&gt; &amp;nbsp; // The recipe returns an array of two elements if the string&lt;br /&gt; &amp;nbsp; // does not validate. The first has the value FALSE and the&lt;br /&gt; &amp;nbsp; // second is an array of error messages. If it does validate&lt;br /&gt; &amp;nbsp; // Only one element is returned and its value is TRUE.&lt;br /&gt; &amp;nbsp; &lt;br /&gt; &amp;nbsp; &amp;#036;len &amp;nbsp; = strlen&amp;#40;&amp;#036;text&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;#036;error = array&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp; &lt;br /&gt; &amp;nbsp; if &amp;#40;&amp;#036;len &amp;#60; &amp;#036;minlength&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#036;error&amp;#91;&amp;#93; = &amp;#34;length is too short &amp;#34; . &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#34;&amp;#40;min &amp;#036;minlength characters&amp;#41;&amp;#34;;&lt;br /&gt; &amp;nbsp; elseif &amp;#40;&amp;#036;len &amp;#62; &amp;#036;maxlength&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#036;error&amp;#91;&amp;#93; = &amp;#34;length is too long &amp;#34; .&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#34;&amp;#40;max &amp;#036;maxlength characters&amp;#41;&amp;#34;;&lt;br /&gt; &amp;nbsp; &lt;br /&gt; &amp;nbsp; &amp;#036;result = preg_match_all&amp;#40;&amp;#34;/&amp;#40;&amp;#91;^&amp;#036;allowed&amp;#93;&amp;#41;/&amp;#34;, &amp;#036;text, &amp;#036;matches&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;#036;caught = implode&amp;#40;array_unique&amp;#40;&amp;#036;matches&amp;#91;1&amp;#93;&amp;#41;, &amp;#39;, &amp;#39;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;#036;plural = strlen&amp;#40;&amp;#036;caught&amp;#41; &amp;#62; 1 ? &amp;#036;plural = &amp;#34;s are&amp;#34; &amp;#58; &amp;#34; is&amp;#34;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; if &amp;#40;&amp;#036;result&amp;#41; &amp;#036;error&amp;#91;&amp;#93; = &amp;#34;The following character&amp;#036;plural &amp;#34; .&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#34;not allowed&amp;#58; &amp;#34; . &amp;#036;caught;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; for &amp;#40;&amp;#036;j = 0&amp;#59; &amp;#036;j &amp;#60; strlen&amp;#40;&amp;#036;required&amp;#41;&amp;#59; ++&amp;#036;j&amp;#41;&lt;br /&gt; &amp;nbsp; {&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;switch&amp;#40;substr&amp;#40;strtolower&amp;#40;&amp;#036;required&amp;#41;, &amp;#036;j, 1&amp;#41;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;#34;a&amp;#34;&amp;#58; &amp;#036;regex = &amp;#34;a-zA-Z&amp;#34;; &amp;#036;str = &amp;#34;letter&amp;#34;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;#34;l&amp;#34;&amp;#58; &amp;#036;regex = &amp;#34;a-z&amp;#34;; &amp;nbsp; &amp;nbsp;&amp;#036;str = &amp;#34;lower case&amp;#34;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;#34;u&amp;#34;&amp;#58; &amp;#036;regex = &amp;#34;A-Z&amp;#34;; &amp;nbsp; &amp;nbsp;&amp;#036;str = &amp;#34;upper case&amp;#34;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;#34;d&amp;#34;&amp;#58; &amp;#036;regex = &amp;#34;0-9&amp;#34;; &amp;nbsp; &amp;nbsp;&amp;#036;str = &amp;#34;digit&amp;#34;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;#34;w&amp;#34;&amp;#58; &amp;#036;regex = &amp;#34;&amp;#092;w&amp;#34;; &amp;nbsp; &amp;nbsp; &amp;#036;str = &amp;#34;letter, number or _&amp;#34;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;#34;p&amp;#34;&amp;#58; &amp;#036;regex = &amp;#34;&amp;#092;W&amp;#34;; &amp;nbsp; &amp;nbsp; &amp;#036;str = &amp;#34;punctuation&amp;#34;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;if &amp;#40;&amp;#33;preg_match&amp;#40;&amp;#34;/&amp;#91;&amp;#036;regex&amp;#93;/&amp;#34;, &amp;#036;text&amp;#41;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#036;error&amp;#91;&amp;#93; = &amp;#34;The string must include at least one &amp;#34; .&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#34;&amp;#036;str character&amp;#34;;&lt;br /&gt; &amp;nbsp; }&lt;br /&gt;&lt;br /&gt; &amp;nbsp; if &amp;#40;count&amp;#40;&amp;#036;error&amp;#41;&amp;#41; return array&amp;#40;FALSE, &amp;#036;error&amp;#41;;&lt;br /&gt; &amp;nbsp; else &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return array&amp;#40;TRUE&amp;#41;;&lt;br /&gt;}&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;so how do i combine it with jquery .blur and ajax &amp;#036;.post ? because as i learn about this in w3school and codeacademy the code will look somehow look like this right?&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;&amp;#40;document&amp;#41;.ready&amp;#40;function&amp;#40;&amp;#41;{&lt;br /&gt; &amp;nbsp; &amp;#036;&amp;#40;&amp;#39;input&amp;#39;&amp;#41;.blur&amp;#40;function&amp;#40;&amp;#41;{&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;#036;&amp;#40;this&amp;#41;&amp;#036;.post&amp;#40;&amp;#34;convalid.php&amp;#34;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#036;_POST&amp;#91;&amp;#39;nama&amp;#39;&amp;#93;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;br /&gt;//i don&amp;#39;t know how to continue the code from there&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;so how should i complete the code? is the code even correct? and how do i display the error?&lt;br /&gt;&lt;br /&gt;thanks for reading this and hope sifu2 can help me &lt;!--emo&amp;:help:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/icon_question.gif' border='0' style='vertical-align:middle' alt='icon_question.gif' /&gt;&lt;!--endemo--&gt;  &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; &lt;br /&gt;&lt;br /&gt;summoning @ungka  @Eulm585 @alien3d&lt;br /&gt;</description>
            <author>Masafum1</author>
            <category>Codemasters</category>
            <pubDate>Tue, 17 May 2016 17:19:35 +0800</pubDate>
        </item>
        <item>
            <title>how to protect &amp;#036;_POST?</title>
            <link>http://forum.lowyat.net/topic/3939820</link>
            <description>hi, i recently dug my own grave by agreeing to do some system development project for my internship... well, that is not the point.&lt;br /&gt; &lt;!--emo&amp;:D--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /&gt;&lt;!--endemo--&gt; &lt;br /&gt;the point is that right now I try to ensure that my code is protected from vulnerabilities and to my understanding when we are inserting data from form to mysql database we should sanitize or not trust it (or something... that is how my teacher explain it)&lt;br /&gt;&lt;br /&gt;below is my current 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;&lt;br /&gt;&amp;#036;nama = &amp;#036;_POST&amp;#91;&amp;#39;nama&amp;#39;&amp;#93;;&lt;br /&gt;&amp;#036;ic = &amp;#036;_POST&amp;#91;&amp;#39;ic&amp;#39;&amp;#93;;&lt;br /&gt;&lt;br /&gt;&amp;#036;sql = &amp;#34;INSERT into register &amp;#40;nama,ic&amp;#41; VALUES &amp;#40;&amp;#39;&amp;#036;nama&amp;#39;,&amp;#036;ic&amp;#41;&amp;#34;;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;to sanitize/protect the code what i do is just by adding mysql_real_escape_string to the code which makes it look like 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;&amp;#036;nama = mysql_real_escape_string&amp;#40;&amp;#036;_POST&amp;#91;&amp;#39;nama&amp;#39;&amp;#93;&amp;#41;;&lt;br /&gt;&amp;#036;ic = mysql_real_escape_string&amp;#40;&amp;#036;_POST&amp;#91;&amp;#39;ic&amp;#39;&amp;#93;&amp;#41;;&lt;br /&gt;&lt;br /&gt;&amp;#036;sql = &amp;#34;INSERT into register &amp;#40;nama,ic&amp;#41; VALUES &amp;#40;&amp;#39;&amp;#036;nama&amp;#39;,&amp;#036;ic&amp;#41;&amp;#34;;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;so now when i do so, it seems that that code is also depreciated and based on what i read around, I should use either PDO or mysqli, so my question is how do i convert it to either one?&lt;br /&gt;i&amp;#39;ve try google it but what i get from it is more confusion and contradiction. example of such link is at below&lt;br /&gt;&lt;a href='http://stackoverflow.com/questions/14012642/what-is-the-pdo-equivalent-of-mysql-real-escape-string' target='_blank'&gt;example&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;hope any sifu here can help me to build more secure code  &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; &lt;br /&gt;&lt;br /&gt;</description>
            <author>Masafum1</author>
            <category>Codemasters</category>
            <pubDate>Fri, 06 May 2016 12:00:15 +0800</pubDate>
        </item>
        <item>
            <title>Help with Codeigniter/MVC url routing</title>
            <link>http://forum.lowyat.net/topic/3889674</link>
            <description>Hi, I would like to ask help on how to open my html file on codeigniter.  I have google about this problem but it seems no solution is working.&lt;br /&gt;&lt;br /&gt;I have an invoice created using html, it look like this &lt;img src='http://i.pictr.com/mr9acjo46f.png' border='0' alt='user posted image' /&gt;  and it files are consist of this file &lt;img src='http://i.pictr.com/dsyrrrv8s7.png' border='0' alt='user posted image' /&gt; .&lt;br /&gt;&lt;br /&gt;I want to integrate that invoice to the current project that I have right now which is written in codeigniter.  My idea is that you click the navigation button, it will open to a new tab or window. Image below show the button&lt;br /&gt;&lt;br /&gt;&lt;img src='http://i.pictr.com/mnpm99sart.png' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;I have written the code &lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&amp;#60;li&amp;#62;&amp;#60;?php echo anchor&amp;#40;&amp;#39;application/views/receipt/index.html&amp;#39;, &amp;#39;&amp;#60;i class=&amp;#34;icon-list-alt&amp;#34;&amp;#62;&amp;#60;/i&amp;#62; Resit&amp;#39;&amp;#41;; ?&amp;#62;&amp;#60;/li&amp;#62;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt; but it end up showing error every time i need to write target=_blank.  Thus i need help from sifu here on how to add &amp;quot;target&amp;quot; to the code so I can open it in a new window.  Also provided is the path to the invoice html file &lt;br /&gt;&lt;br /&gt;&lt;img src='http://i.pictr.com/bpdnrz1j5b.png' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;Please help &lt;!--emo&amp;:stars:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/rclxub.gif' border='0' style='vertical-align:middle' alt='rclxub.gif' /&gt;&lt;!--endemo--&gt;   Thank you for reading  &lt;br /&gt;</description>
            <author>Masafum1</author>
            <category>Codemasters</category>
            <pubDate>Wed, 09 Mar 2016 12:02:22 +0800</pubDate>
        </item>
        <item>
            <title>open html in codeigniter</title>
            <link>http://forum.lowyat.net/topic/3884083</link>
            <description>hi to everyone who read this.  First I want to say thank you for reading this.  &lt;br /&gt;&lt;br /&gt;Second, I want to ask, I currently working on a system created using codeigniter, I&amp;#39;ve been tasked to add new feature to the system. As such, I decided to integrate my old html code for receipt to the system.  I&amp;#39;ve been told that using this &lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&amp;#60;?php echo anchor&amp;#40;prep_url&amp;#40;&amp;#39;www.google.com&amp;#39;&amp;#41;, &amp;#39;Google&amp;#39;, &amp;#39;target=&amp;#34;_blank&amp;#34;&amp;#39;&amp;#41;; ?&amp;#62;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt; can help me open html in new page, so I want to ask, how to replace the &amp;quot;www.google.com&amp;quot; with my html file and folder?&lt;br /&gt;&lt;br /&gt;thanks for reading.  Hope someone can help me</description>
            <author>Masafum1</author>
            <category>Codemasters</category>
            <pubDate>Thu, 03 Mar 2016 17:19:04 +0800</pubDate>
        </item>
        <item>
            <title>Codeigniter Breadcrumb help</title>
            <link>http://forum.lowyat.net/topic/3876141</link>
            <description>Hi, I am currently in internship and involve in an improvement project of a web-based app develop by past intern student.   Currently finds that some breadcrumb are wrong and required to repair it.  However i have hard time to find how to edit the breadcrumb.  I found out that the web app is develop by using codeigniter and mvc and i never learn those two thing  &lt;!--emo&amp;:stars:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/rclxub.gif' border='0' style='vertical-align:middle' alt='rclxub.gif' /&gt;&lt;!--endemo--&gt; .  I also found out the web app is created by customizing an open source software called mybooking which is available at &lt;a href='http://products.oscc.org.my/mybooking' target='_blank'&gt;mybooking MAMPU&lt;/a&gt; .. so is there any sifu here familiar with codeigniter, mvc or this mybooking software to help me?  &lt;br /&gt;&lt;br /&gt;Thank you for taking your time to read this.  Hope there is someone can help me.</description>
            <author>Masafum1</author>
            <category>Codemasters</category>
            <pubDate>Wed, 24 Feb 2016 11:29:39 +0800</pubDate>
        </item>
        <item>
            <title>WTB tablet cover with keyboard</title>
            <link>http://forum.lowyat.net/topic/3771544</link>
            <description>want to buy tablet cover with keyboard and also stylus&lt;br /&gt;&lt;br /&gt;the tablet is chuwi vi10pro, looking for a 10.6 inch or official tablet cover for chuwi vi10 pro&lt;br /&gt;&lt;br /&gt;please include with price for delivery to machang, kelantan and also stylus pen price, if you sell one</description>
            <author>Masafum1</author>
            <category>Mobile Phones &amp;amp; Tablets Garage Sales</category>
            <pubDate>Wed, 11 Nov 2015 14:16:50 +0800</pubDate>
        </item>
        <item>
            <title>WTS Sell R9 290 4GB GDDR5 TRI-X</title>
            <link>http://forum.lowyat.net/topic/3502770</link>
            <description>&lt;b&gt;Item(s): R9 290 4GB GDDR5 TRI-X&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Package includes: Sapphire R9 290 Box&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Price:RM 800 nego&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warranty:Around 1 year, but lost the receipt, can do RMA with Ling loong&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Dealing method:COD&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Location of seller: AU3 Keramat, Wangsa Maju, Setiawangsa till 28 Februari, after that Im available at Machang, Kelantan&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Contact method/details: Whatsapp, sms, pm.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Age of item:New, receive this card as an upgrade for RMA for R9 290 reference from sapphire&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Item(s) conditions: Fresh new upgrade from sapphire for RMA&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Picture: Whatsapp me for picture&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reason for sale:Need money quick for uni school, and have bought replacement card&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Edit : Item sold</description>
            <author>Masafum1</author>
            <category>Display Cards Garage Sales</category>
            <pubDate>Fri, 20 Feb 2015 10:39:21 +0800</pubDate>
        </item>
        <item>
            <title>Power Supply for R9 290 sapphire</title>
            <link>http://forum.lowyat.net/topic/3268577</link>
            <description>Currently i&amp;#39;m upgrading my 4 year old rig.. right now i decided to change my graphic card to sapphire r9 290 tri-x.  However i do not have any knowledge on suitable power supply to be used for that kind of graphic card.&lt;br /&gt;&lt;br /&gt;Sifus please help me</description>
            <author>Masafum1</author>
            <category>Hardware</category>
            <pubDate>Tue, 24 Jun 2014 17:06:02 +0800</pubDate>
        </item>
    </channel>
</rss>
