<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by solemn_86</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Fri, 12 Jun 2026 02:11:02 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Dropdown Menu</title>
            <link>http://forum.lowyat.net/topic/1966876</link>
            <description>Hello guys, I have a small problem (hopefully).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have a table like the one shown below:&lt;br /&gt;&lt;br /&gt;id               kereta              plat_no&lt;br /&gt;----            --------              --------&lt;br /&gt;1                Saga                WFG67&lt;br /&gt;2                Viva                 WA557&lt;br /&gt;3                Toyota              WF788&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Can someone help me: for example when I select Viva from the dropdown menu, it will only display the plat_no for Viva.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;thanks in advance</description>
            <author>solemn_86</author>
            <category>Codemasters</category>
            <pubDate>Thu, 21 Jul 2011 16:13:19 +0800</pubDate>
        </item>
        <item>
            <title>Dynamic Checkbox using PHP only</title>
            <link>http://forum.lowyat.net/topic/1870232</link>
            <description>Hello guys, I have a simple problem (I hope) concerning dynamic checkboxes and since my English is not very strong I&amp;#39;ll explain it using example. Below is my database:&lt;br /&gt;&lt;br /&gt;-- phpMyAdmin SQL Dump&lt;br /&gt;-- version 3.3.9&lt;br /&gt;-- &lt;a href='http://www.phpmyadmin.net' target='_blank'&gt;http://www.phpmyadmin.net&lt;/a&gt;&lt;br /&gt;--&lt;br /&gt;-- Host: localhost&lt;br /&gt;-- Generation Time: May 09, 2011 at 06:20 AM&lt;br /&gt;-- Server version: 5.5.8&lt;br /&gt;-- PHP Version: 5.3.5&lt;br /&gt;&lt;br /&gt;SET SQL_MODE=&amp;quot;NO_AUTO_VALUE_ON_ZERO&amp;quot;;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/*&amp;#33;40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;&lt;br /&gt;/*&amp;#33;40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;&lt;br /&gt;/*&amp;#33;40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;&lt;br /&gt;/*&amp;#33;40101 SET NAMES utf8 */;&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;-- Database: `Things`&lt;br /&gt;--&lt;br /&gt;&lt;br /&gt;-- --------------------------------------------------------&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;-- Table structure for table `fruit`&lt;br /&gt;--&lt;br /&gt;&lt;br /&gt;CREATE TABLE IF NOT EXISTS `fruit` (&lt;br /&gt;  `id` int(10) NOT NULL AUTO_INCREMENT,&lt;br /&gt;  `fruit_type` varchar(50) NOT NULL,&lt;br /&gt;  PRIMARY KEY (`id`)&lt;br /&gt;) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;-- Dumping data for table `fruit`&lt;br /&gt;--&lt;br /&gt;&lt;br /&gt;INSERT INTO `fruit` (`id`, `fruit_type`) VALUES&lt;br /&gt;(1, &amp;#39; Apple&amp;#39;),&lt;br /&gt;(2, &amp;#39; Orange&amp;#39;),&lt;br /&gt;(3, &amp;#39; Banana&amp;#39;),&lt;br /&gt;(4, &amp;#39; Watermelon&amp;#39;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Currently I hard code these data into my HTML using example below:&lt;br /&gt;&lt;br /&gt;&amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;ckbx1&amp;quot; value=&amp;quot;Apple&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;ckbx2&amp;quot; value=&amp;quot;Orange&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;ckbx3&amp;quot; value=&amp;quot;Banana&amp;quot;&amp;gt; &lt;br /&gt;&amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;ckbx4&amp;quot; value=&amp;quot;Watermelon&amp;quot;&amp;gt;&lt;br /&gt; &lt;br /&gt;But I want to display them dynamically straight from the database so that when I add new data to the database, the checkboxes will automatically change accordingly. Please help and thank you</description>
            <author>solemn_86</author>
            <category>Codemasters</category>
            <pubDate>Mon, 09 May 2011 12:38:59 +0800</pubDate>
        </item>
        <item>
            <title>Count data using mySQL</title>
            <link>http://forum.lowyat.net/topic/1796597</link>
            <description>Greetings&lt;br /&gt;&lt;br /&gt;I have a small problem (hopefully) as shown in the SQL file below&lt;br /&gt;&lt;br /&gt;-- phpMyAdmin SQL Dump&lt;br /&gt;-- version 3.3.9&lt;br /&gt;-- &lt;a href='http://www.phpmyadmin.net' target='_blank'&gt;http://www.phpmyadmin.net&lt;/a&gt;&lt;br /&gt;--&lt;br /&gt;-- Host: localhost&lt;br /&gt;-- Generation Time: Mar 17, 2011 at 09:37 AM&lt;br /&gt;-- Server version: 5.5.8&lt;br /&gt;-- PHP Version: 5.3.5&lt;br /&gt;&lt;br /&gt;SET SQL_MODE=&amp;quot;NO_AUTO_VALUE_ON_ZERO&amp;quot;;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/*&amp;#33;40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;&lt;br /&gt;/*&amp;#33;40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;&lt;br /&gt;/*&amp;#33;40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;&lt;br /&gt;/*&amp;#33;40101 SET NAMES utf8 */;&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;-- Database: `kenderaan`&lt;br /&gt;--&lt;br /&gt;&lt;br /&gt;-- --------------------------------------------------------&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;-- Table structure for table `kereta`&lt;br /&gt;--&lt;br /&gt;&lt;br /&gt;CREATE TABLE IF NOT EXISTS `kereta` (&lt;br /&gt;  `id` int(10) NOT NULL AUTO_INCREMENT,&lt;br /&gt;  `jenis_kereta` varchar(50) NOT NULL,&lt;br /&gt;  PRIMARY KEY (`id`)&lt;br /&gt;) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ;&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;-- Dumping data for table `kereta`&lt;br /&gt;--&lt;br /&gt;&lt;br /&gt;INSERT INTO `kereta` (`id`, `jenis_kereta`) VALUES&lt;br /&gt;(1, &amp;#39;Saga&amp;#39;),&lt;br /&gt;(2, &amp;#39;Iswara&amp;#39;),&lt;br /&gt;(3, &amp;#39;Wira&amp;#39;),&lt;br /&gt;(4, &amp;#39;Juara&amp;#39;),&lt;br /&gt;(5, &amp;#39;Arena&amp;#39;),&lt;br /&gt;(6, &amp;#39;Satria&amp;#39;),&lt;br /&gt;(7, &amp;#39;Kancil&amp;#39;),&lt;br /&gt;(8, &amp;#39;Rusa&amp;#39;),&lt;br /&gt;(9, &amp;#39;Kenari&amp;#39;),&lt;br /&gt;(10, &amp;#39;Kelisa&amp;#39;),&lt;br /&gt;(11, &amp;#39;Myvi&amp;#39;),&lt;br /&gt;(12, &amp;#39;Viva&amp;#39;),&lt;br /&gt;(13, &amp;#39;Alza&amp;#39;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m counting the above data using the following code:&lt;br /&gt;&lt;br /&gt;SELECT jenis_kereta, count(jenis_kereta) FROM kereta GROUP BY jenis_kereta&lt;br /&gt;&lt;br /&gt;but I want to count the data to obtain the output as shown below:&lt;br /&gt;&lt;br /&gt;Proton Perodua&lt;br /&gt;------- ----------&lt;br /&gt;&lt;br /&gt;6            7&lt;br /&gt;&lt;br /&gt;All help is appreciated thank you</description>
            <author>solemn_86</author>
            <category>Codemasters</category>
            <pubDate>Fri, 18 Mar 2011 10:13:36 +0800</pubDate>
        </item>
        <item>
            <title>Popup Code</title>
            <link>http://forum.lowyat.net/topic/1337019</link>
            <description>Hi guys, i just want to know if someone can provide me the code for this &amp;quot;1 new posts since last visit.Read latest post or hide this alert&amp;quot; . I mean the thing that automatically popup when there&amp;#39;s a new post. I currently developing a program that whenever someone post a request, a popup like that will appear to notify the admin there&amp;#39;s a new request to attend to. Any help is appreciated. Thx in advance</description>
            <author>solemn_86</author>
            <category>Codemasters</category>
            <pubDate>Thu, 25 Feb 2010 13:27:37 +0800</pubDate>
        </item>
    </channel>
</rss>
