<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated on Sat, 13 Mar 2010 00:21:28 -0600 -->
<rss version="2.0">
  <channel>    <title>Codeassembly</title>
    <link>http://www.codeassembly.com/feed/comments/0</link>
    <description>CodeAssembly - Simplicity is prerequisite for reliability - Comments</description>
    <language>en-us</language>
    <managingEditor>contact@codeassembly.com</managingEditor>
    <webMaster>contact@codeassembly.com</webMaster>
    <generator>RSS Feed Generator</generator>
    <item>
      <title>Rob @ Web Design Talk</title>
      <description>GReat piece of code. Tested with a very very large category table and things are little slow. However for my shop that has 4 levels of categories this is absolutely perfect. 

Thanks</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#294</link>
      <pubDate>2010-03-08 13:13:08</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#294</guid>
    </item>
    <item>
      <title>Someone Nordic</title>
      <description>You have just solved my 2 day-old vb headache with that recursive function. Awesome job</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#293</link>
      <pubDate>2010-03-03 06:46:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#293</guid>
    </item>
    <item>
      <title>Kamil</title>
      <description>@Nix: Just change the path (/examples/jquerycombo/combobox.php) in test.html lines 11 and 24 to correspond to your directory structure.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#292</link>
      <pubDate>2010-02-21 07:48:37</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#292</guid>
    </item>
    <item>
      <title>Sheldon</title>
      <description>Fails in IE8</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#291</link>
      <pubDate>2010-02-19 23:24:02</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#291</guid>
    </item>
    <item>
      <title>robb</title>
      <description>Hi,

As I can see your plugin is communicating with server side (php script) by GET method. Any possibility to use POST method?

It seems script is not passing value from input box if mode_rewrite is enabled.

Anybody managed to use this autocomplete with some framework (cake, codeigniter)

Thanx in advanced!</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#290</link>
      <pubDate>2010-02-18 10:13:15</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#290</guid>
    </item>
    <item>
      <title>Ricardo Löpez Rey ASTURIAS</title>
      <description>Hello!!!

Great work!! Thanks a lot... but it isn't really JSON enable, JSON serialized data should be like [{prop1:"value1",prop2:"value2"}]  
now it expect  [{"value1","value2"}]...

Also in the getData() function  you put inside the loop the assignation handlers for the events (hover, click...) so for every item back from the server, you do the same...

Anyway...!!! THANKS AGAIN!!!

My function....


        function getData(text) {
            window.clearInterval(typingTimeout);
            if (text != oldText && (settings.minChars != null && text.length >= settings.minChars)) {
                clear();
                if (settings.before == "function") {
                    settings.before(textInput, text);
                }
                textInput.addClass('autocomplete-loading');
                settings.parameters.text = text;
                $.getJSON(url, settings.parameters, function(data) {
                    var items = '';
                    if (data) {
                        $.each(data, function(index, item) {
                            items += '<li value="' + item.id + '">' + item.text.replace(new RegExp("(" + text + ")", "i"), "<strong>$1</strong>") + '</li>';
                        });
                        list.html(items);
                        //on mouse hover over elements set selected class and on click set the selected value and close list
                            list.show().children().
						  	hover(function() { $(this).addClass("selected").siblings().removeClass("selected"); }, function() { $(this).removeClass("selected") }).
						  	click(function() { valueInput.val($(this).attr('value')); textInput.val($(this).text()); clear(); });

                        if (settings.after == "function") {
                            settings.after(textInput, text);
                        }
                        
                    }
                    textInput.removeClass('autocomplete-loading');
                });
                oldText = text;
            }
        }</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#289</link>
      <pubDate>2010-02-14 02:03:46</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#289</guid>
    </item>
    <item>
      <title>Geda</title>
      <description>Hi,
No! Its not working in IE8</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#288</link>
      <pubDate>2010-02-12 18:47:35</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#288</guid>
    </item>
    <item>
      <title>Bora</title>
      <description>it is successful jquery gallery. But the description for the name is not right I think. It should be fading jquery instead of morphing. Because in the morphing process, the content of the image should warp. Not only the size of the image...

Kind regards</description>
      <link>http://codeassembly.com/jQuery-morphing-gallery/#287</link>
      <pubDate>2010-02-12 06:08:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/jQuery-morphing-gallery/#287</guid>
    </item>
    <item>
      <title>Jaime</title>
      <description>Tested & works with 2.2.8. There are some errors in the patching but I wisely ignored them and the rest of the installation works like a charm:

[root@xxxxxx apr-util]# patch -p1 < apr-util_2.2.6.patch
patching file build/apu-conf.m4
patching file build/apu-iconv.m4
Hunk #1 FAILED at 39.
Hunk #2 succeeded at 87 (offset 9 lines).
1 out of 2 hunks FAILED -- saving rejects to file build/apu-iconv.m4.rej
patching file build/dbd.m4
Hunk #3 FAILED at 132.
Hunk #4 FAILED at 161.
Hunk #5 succeeded at 208 (offset -28 lines).
Hunk #7 succeeded at 263 (offset -28 lines).
2 out of 8 hunks FAILED -- saving rejects to file build/dbd.m4.rej
patching file build/dbm.m4
Hunk #3 succeeded at 682 (offset 28 lines).

Shame on me, I know i should check those errors.</description>
      <link>http://codeassembly.com/Bug-fix-for-apache-2.2.6-compilation-on-64-bit-linux/#286</link>
      <pubDate>2010-02-05 08:47:21</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Bug-fix-for-apache-2.2.6-compilation-on-64-bit-linux/#286</guid>
    </item>
    <item>
      <title>Nix</title>
      <description>Hi
I am not even a coder; I just started to learn.
Your online demo is exciting.
But downloaded files seems not working; some of the other guys also commented the same (Akis, bharanikumar), but no one replied a solution.
Is it like not for beginners...?
Thanks in advance</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#285</link>
      <pubDate>2010-01-29 04:30:03</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#285</guid>
    </item>
    <item>
      <title>Antti</title>
      <description>Man, this is nice but i dont get this work... sort of.
I got that demo working perfectly even when i changed query. BUT
when i changed 'example' name to 'phone' (field names,ids etc.) Nothing happens...?
ajax-php returns right stuf it is something else and i just cant get it.</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#284</link>
      <pubDate>2010-01-22 09:01:14</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#284</guid>
    </item>
    <item>
      <title>John</title>
      <description>Thanks for this great script, but howto get this to work with content of a mysql database? all three dropdowns i mean.

Could someone please help me on this?

http://www.mijnbazaar.nl</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#283</link>
      <pubDate>2010-01-11 09:20:20</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#283</guid>
    </item>
    <item>
      <title>Doli Anggia Harahap</title>
      <description>Very great Plugin.
I have been used this for some of my tasks. But today i faced problem.
I need to do multiple select. Is it possible?

I have try to put something like this:

<td>
<div class="selHolder">
<h3>4. Dip (next...)</h3>
<select id="dipSelect" name="dip[]" size="5" multiple="multiple">
<option>[none selected]</option>
</select>
</div>
</td>

<td>
<div class="selHolder">
<h3>5. Fault</h3>
<select id="faultSelect" name="fault[]" size="5" multiple="multiple">
<option>[none selected]</option>
</select>
</div>
</td>

I put multiple in DIPSELECT. And in javascript:
$('#dipSelect').chainSelect('#faultSelect','modules/tab_content/index_controller.php',
{ 
usePost : true,
after:function (target) 
{ 
$(target).css("display","inline");
}
});

I use POST to get array from the DIPSELECT.


and in serverside:
$dip	=	$_POST['_value'];


My Question, i don't get any ARRAY value for $dip even i select more than one in DIPSELECT. How can we do this multiple by using this plugin??

Thanks and very great works!!!</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#282</link>
      <pubDate>2010-01-10 10:42:56</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#282</guid>
    </item>
    <item>
      <title>Pas Argenio</title>
      <description>Do I need the formValidator class or .inc.php file?  Where do I place the files?  When I try it I get a blank page.</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#281</link>
      <pubDate>2009-12-30 10:02:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#281</guid>
    </item>
    <item>
      <title>Charles</title>
      <description>Hello All,

Great plugin - I got it working in very short order. The only thing that hung me up was what to query in my PHP script that returned the JSON array. For those in the same boat: your script will work with two variables passed: "_name" - the ID (not class) of the field that was changed, and "_value" the value of the option that was selected. Since my PHP page will only serve requests for a specific field I did not use "_name".

Now I have a question. I am a newbie to jQuery and Javascript so pardon what may be a stupid question: how can I assign a class to the options returned from the JSON array?

Thanks,
Charles
 </description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#280</link>
      <pubDate>2010-01-07 11:05:55</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#280</guid>
    </item>
    <item>
      <title>Sara</title>
      <description>Hi -- Have these changes been incorporated in the downloadable files?

Thanks!</description>
      <link>http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#279</link>
      <pubDate>2009-12-29 08:31:04</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#279</guid>
    </item>
    <item>
      <title>Tester</title>
      <description>Nice !!! Dos anybody know how to display the menu horizontaly?</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#278</link>
      <pubDate>2009-12-20 12:06:26</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#278</guid>
    </item>
    <item>
      <title>Ezra</title>
      <description>Hello, 
Thanks for this code, it's great, I have always wondered how to do this without using flash!  One problem I am having though, is setting the changer intervals.  I would like each slide to show for at least 5 seconds, but I am having trouble making that happen.  I tried changing the javascript code in the beginning: var current_banner = 1;
var total_banners = 0;
var wait = 0;

I tried changing these three values, but it doesn't seem to make a difference.  Any help would be much appreciated.
Thanks, 
Ezra</description>
      <link>http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#277</link>
      <pubDate>2009-12-06 14:21:08</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#277</guid>
    </item>
    <item>
      <title>Heshan Peiris</title>
      <description>nice one. thanks for sharing. helped me to grab the concept. :) </description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#276</link>
      <pubDate>2009-12-05 20:27:12</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#276</guid>
    </item>
    <item>
      <title>seowebworks</title>
      <description>I have been pulling my hair out trying to get all browsers to center my pages on fansinthestands.com ... needless to say, earlier IE versions were not liking css for body/html and the fact that there was a style on the <body> tag.

</description>
      <link>http://codeassembly.com/How-to-center-a-page-layout/#275</link>
      <pubDate>2009-11-25 11:18:15</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-center-a-page-layout/#275</guid>
    </item>
    <item>
      <title>Vinicius Assef</title>
      <description>Nice idea, but when handling volatile data, this can be cumbersome to mantain the search table.</description>
      <link>http://codeassembly.com/How-to-implement-Mysql-full-text-search-on-a-big-website/#274</link>
      <pubDate>2009-11-23 18:03:56</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-implement-Mysql-full-text-search-on-a-big-website/#274</guid>
    </item>
    <item>
      <title>Techie Talks</title>
      <description>Great codes, I  am really having a hard time displaying the cat subcat that I have in a way it will show up like a combo box.  Thank you!</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#273</link>
      <pubDate>2009-11-20 23:58:48</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#273</guid>
    </item>
    <item>
      <title>Matt</title>
      <description>Doesn't actually work properly, repeated iterations continually add spaces between lines of a multiline comment, single line comments frequently pulled up onto the preceding line.

Thanks for the effort though.</description>
      <link>http://codeassembly.com/A-php-code-beautifier-that-works/#272</link>
      <pubDate>2009-11-20 14:09:51</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-php-code-beautifier-that-works/#272</guid>
    </item>
    <item>
      <title>Vassilis</title>
      <description>Hello, nice script. I have already used this script without problems in the past.

Now I'm using the script in a CMS as a menu and I have alternative cookies there. The problem is that every time I click to the menu all the categories that are already expanded, collapse immediately. I tried to change a lot of things to the script but with no luck. 

Can you please help me? Thanks a lot.  </description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#271</link>
      <pubDate>2009-11-17 20:55:54</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#271</guid>
    </item>
    <item>
      <title>Dragos</title>
      <description>hello. i'm using this script i find useful, but i have two form in same page, with same class and i want both to change, i don't know javascript and jquery, but i think its useful someting like each function. Can you help me please?</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#270</link>
      <pubDate>2009-11-06 13:45:07</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#270</guid>
    </item>
    <item>
      <title>ramesh</title>
      <description>Hi

Excellent work. What i am trying is, I want to call a PHP function in the url

When i do so, i get the json output... but it is returned with whole html page structure. (I am using joomla) 

Any help would be greatful
</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#269</link>
      <pubDate>2009-11-03 19:34:39</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#269</guid>
    </item>
    <item>
      <title>calopsfr</title>
      <description>Dave said :
5 characters, mixed case = 52 ^ 5 = 130691232.

That's fairly wrong. Everyone knows 130691232 is 42^5.

Always 42.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#268</link>
      <pubDate>2009-10-23 06:02:08</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#268</guid>
    </item>
    <item>
      <title>Andrew</title>
      <description>I am heppy to find this blog.

I am a new(ish) PHP developer and have been experimenting for a while with emgines like Smarty and i honestly failed to see the point in them.

The only good reason to learn it is in case you come across an application that has been entirely written in smarty.

In my mind, it is no different than creating a template with empty modules and simply writing files in html/php that can be plugged anywhere into the template eg

Header Header Header
code1  code2  code3
Footer Footer Footer

So all 3 pages are the same except the code that is surrounded by the template header and footer.

It could take even a PHP expert a while to figure out what on earth smarty is doing and why it is doing it that way.

For example, smarty that i have seen uses tables to position elements on a web page. That is something i did on my first website and now its a pain to maintain. Floating divs to me work much better.</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#267</link>
      <pubDate>2009-10-14 10:18:17</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#267</guid>
    </item>
    <item>
      <title>John phpALD</title>
      <description>This code will show all main categories.
It will also include the main category in the link when a subcategory has been selected.
and it will take care of the white space in the link when a category name has more then one word.

category name is cars and trucks then the link will be:
/cars-and-trucks/

if there is a subcategory in cars and trucks like new trucks
then the link will be:
/cars-and-trucks/new-trucks/


function generate_menu($parent)
{
	$has_childs = false;
	global $menu_array;
	foreach($menu_array as $key => $value)
	{
		if ($value['parent'] == $parent) 
		{			
			if ($has_childs === false)
			{				
				$has_childs = true;
				echo '<ul id="categories">';
			}
			$cat = str_replace(" ", "-", $value['name']); 
				if ($value['parent'] == 0){
				$cat = str_replace(" ", "-", $value['name']);
				}
				if ($value['parent'] > 0){
				$ca = str_replace(" ", "-", $value['name']);
					$selp = "SELECT * FROM `categories` WHERE `id` = '$parent'";
					$queryp=mysql_query($selp);
					while($rowp = mysql_fetch_array($queryp)){
					 $parentca = str_replace(" ", "-", $rowp['1']);
					}
				$cat = $parentca . '/' . $ca;
				}				
			echo '<li><a href="/' . $cat . '/">' . $value['name'] . '</a>';
			generate_menu($key);
			echo '</li>';
		}
	}
	if ($has_childs === true) echo '</ul>';
}

</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#266</link>
      <pubDate>2009-10-10 12:15:55</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#266</guid>
    </item>
    <item>
      <title>Spikezz</title>
      <description>Here's a simple way to fix browser display problems with html entities. For example if you are indenting the combo box options with &nbsp; characters, we need to have the browser re-evaluate the html inside the options.

Change the jQuery.fn.chainSelect function in jquery.chainedSelects.js as follows:

var new_html = '';
for (i = 0; i < data.length; i++)//iterate over all options
{
  for ( key in data[i] )//get key => value
  {	
		//$(target).get(0).add(new Option(data[i][key],[key]), document.all ? i : null);
	  new_html += '<option value="' + key + '">'+data[i][key]+'</option>';
}
}
$(target).html(new_html);</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#265</link>
      <pubDate>2009-09-15 16:39:17</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#265</guid>
    </item>
    <item>
      <title>mitch</title>
      <description>Is there a reason, or is it just preference, that you passed a ref to $_GET to the sanitize function? I would probably have just returned a new array. Does it matter? Is one way more efficient or better, or not?</description>
      <link>http://codeassembly.com/How-to-sanitize-your-php-input/#264</link>
      <pubDate>2009-09-10 15:29:10</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-sanitize-your-php-input/#264</guid>
    </item>
    <item>
      <title>Nic</title>
      <description>Amnell I had the same issue

this is what i get from firebug in firefox: "$("input#example").autocomplete is not a function"

I was loading twice jquery.js and one after initating the autocomplete.

Just remove the extra ref to jquery</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#263</link>
      <pubDate>2009-08-23 21:59:36</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#263</guid>
    </item>
    <item>
      <title>dana</title>
      <description>no matter how hard i try, the z-index of the autocomplete UL does not go above the Google Maps CSS layer. What could be wrong? How do I change the UL.autocomplete z-index? I have changes this in the CSS and it does not do anything.  </description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#262</link>
      <pubDate>2009-08-21 12:34:26</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#262</guid>
    </item>
    <item>
      <title>Raymond</title>
      <description>Great script! One question though, what code would I use to echo a URL under each drop down menu. So for instance, a user selects "USA" and under that drop down a text link appears? Thanks so much!</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#261</link>
      <pubDate>2009-08-19 15:36:30</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#261</guid>
    </item>
    <item>
      <title>yan</title>
      <description>i could not expand the folder ....why?</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#260</link>
      <pubDate>2009-08-13 04:40:15</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#260</guid>
    </item>
    <item>
      <title>Badran</title>
      <description>Nice image gallery and wonderful animation.

IE6 is the bug of the world.
But this gallery look good in all browsers.</description>
      <link>http://codeassembly.com/jQuery-morphing-gallery/#259</link>
      <pubDate>2009-08-12 06:54:38</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/jQuery-morphing-gallery/#259</guid>
    </item>
    <item>
      <title>Picas</title>
      <description>I replace
$array[] = array('1' => 'Data 1'); 

with
$link = mysqli_connect ('localhost', 'root', 'picas', 'db_biodataalumni');
            $queryjk =("select * from m_fakultas");
            $resultjk = mysqli_query($link,$queryjk) or die (mysqli_error());
            
            while($row=mysqli_fetch_array($resultjk)){
                $array[] = array("$row[idfakultas]" => $row[fakultas]);
            }

to be a dinamic combobox from db, but how to pass the value to next combobox..??

how to change $_GET['_value'] == 2 to idfakultas so the third combobox can load a data from database..

} elseif ($_GET['_name'] == 'state') 
{
	 if ( $_GET['_value'] == 2 )//New York
	 ...

I'm Confuse</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#258</link>
      <pubDate>2009-07-29 02:09:32</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#258</guid>
    </item>
    <item>
      <title>matt</title>
      <description>Another note, I just realize there is a big problem with Guido's on select code, in that if its not click by the mouse (and instead the person uses the keyboard) it will not be fired. The solution is to just add:

if (typeof settings.onClick == "function"){settings.onClick(valueInput.val(),textInput.val());}

in the 

else if(e.which == 13)//enter 
   } else

section, putting it right about the clear worked well for me.</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#257</link>
      <pubDate>2009-07-27 16:45:39</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#257</guid>
    </item>
    <item>
      <title>matt</title>
      <description>Pepe, you are correct, here is another fix for this plugin to make it disappear when focus is lost on the inputbox

simply add the line:

textInput.blur(function(e) {if(jQuery('.autocomplete:has(.selected)').length == 0){clear();} })

after the click (~line 94) seems to fix it</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#256</link>
      <pubDate>2009-07-27 16:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#256</guid>
    </item>
    <item>
      <title>Kevin</title>
      <description>Hi, Nice script, but is it possible to return the <ul><li> etc etc instead of echoing it directly in the function?

Please give some info on this! </description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#255</link>
      <pubDate>2009-07-29 12:26:02</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#255</guid>
    </item>
    <item>
      <title>kevin</title>
      <description>Hi,

here is a little mod I made to the script. For those you might be interested..

function generate_menu($parent){
		
		$output = ''; // We will use this instead of echoing values straight into our function

		$has_childs = false;
		
		global $show_menu;
		
		foreach($show_menu as $key => $value){
			if($value['parent_id'] == $parent){
				if($has_childs === false){
					$has_childs = true;
				}
				if($value['parent_id'] == '0'){
					$output .= '<div id='.$value['class_id'].$value['class'].'>';
					$output .= '<div id='.$value['class_id'].$value['style_id'].'>'.$value['title'].'</div>';
					$output .= '<ul id='.$value['class_id'].$value['list_style'].'>';
				}else{
					$output .= '<li><a href="">'.$value['title'].'</a>';
				}
				$output .= generate_menu($key);
				
				$output .= '</li>';
			}
		}
		if($has_childs === true){
			$output .=  '</ul>';
			$output .='</div>';
		}
		return $output;
	}


Also, this one will make your category name a Normal text instead of a link.. 

What i also did is add some fields in the Mysql Table and store my CSS class and ID, then pass them into the array and put then as variables in my HTML elements..</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#254</link>
      <pubDate>2009-07-29 16:23:15</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#254</guid>
    </item>
    <item>
      <title>Milo</title>
      <description>another addition:

put this in css:
.strength-1

{

        width:250px;

        background:#cccccc;

}

put this in html
		if (password.length < 1) score--;

		desc[-1] = "Password not entered";
</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#253</link>
      <pubDate>2009-07-30 06:07:32</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#253</guid>
    </item>
    <item>
      <title>Pepe</title>
      <description>If the drop down list fills and you click off the field (focus on field blurs) the drop down list remains (needs to go away).</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#252</link>
      <pubDate>2009-07-22 08:24:34</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#252</guid>
    </item>
    <item>
      <title>c.y</title>
      <description>can you give an example when using the defaultValue?

Thanks.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#251</link>
      <pubDate>2009-07-20 01:29:44</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#251</guid>
    </item>
    <item>
      <title>matt</title>
      <description>Thanks for the great plugin, and thanks Guido, i needed something on the click event as well.  also, if the exact position of the textbox that the autocomplete is on changes before the autocomplete is used, the list will sill show up where it should have been before the change.  My solution was to add:

list = valueInput.next().css({top: textInput.offset().top + textInput.outerHeight(), left: textInput.offset().left, width: textInput.width()});

between the 
list.html(items);
and the
list.show().children().

don't know if thats the best solution, but it seems to be working for me.</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#250</link>
      <pubDate>2009-07-15 15:34:08</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#250</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>Hi, thanks so much for this code; I am writing a file manager component for Joomla and I couldn't figure out how to manage unlimited sub-categories cleanly, and with only using one database query.
 </description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#249</link>
      <pubDate>2009-07-13 01:59:25</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#249</guid>
    </item>
    <item>
      <title>Desiree</title>
      <description>how do you repeat the content and the navigation?</description>
      <link>http://codeassembly.com/How-to-optimize-your-website-layout-to-ensure-your-content-is-the-first-one-in-the-page/#248</link>
      <pubDate>2009-07-01 17:01:11</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-optimize-your-website-layout-to-ensure-your-content-is-the-first-one-in-the-page/#248</guid>
    </item>
    <item>
      <title>Zaheer</title>
      <description>Hy Barry, By "you need to select the rows inside the function instead of declaring the menu_array as a global" he means to remove global declaration of array from the function definition and pass it to the function as a argument.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#247</link>
      <pubDate>2009-07-01 05:58:12</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#247</guid>
    </item>
    <item>
      <title>Alaa Al-Hussein</title>
      <description>This is a wonderful image gallery in jQuery. I like it.

But i experienced a bug while testing it... in IE6, the size of the frame dosn't work perfect. (I hate IE6 but lot of people are using it)

Another thing:
This gallery needs loading function.. shows the visitor a loading bar or something let to wait for image to load. Needed in previous and next images. When you click on the next button or another image, the previous one stays till the next is loaded.

I think this should be fixed.
Thanks</description>
      <link>http://codeassembly.com/jQuery-morphing-gallery/#246</link>
      <pubDate>2009-06-30 06:27:37</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/jQuery-morphing-gallery/#246</guid>
    </item>
    <item>
      <title>Z</title>
      <description>Hello,

This solution dosn't work, if you want to send to save the datas with ajax.
I think, this is better:
textInput.after('<input type=hidden id="' + textInput.attr("name") + '" name="' + textInput.attr("name") + '"/>').attr("id", textInput.attr("name") + "_text").attr("name", textInput.attr("name") + "_text");</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#245</link>
      <pubDate>2009-06-29 09:07:33</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#245</guid>
    </item>
    <item>
      <title>Roby</title>
      <description>I am using the following library's

<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/jquery.validate.js"></script> 
<script type="text/javascript" src="/js/jquery.chainSelects.js"></script> 


The chainselects works fine on a page by itself, but when I combine with jquery and validate functionality it blows up &function undefined.
</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#244</link>
      <pubDate>2009-06-24 11:37:16</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#244</guid>
    </item>
    <item>
      <title>Z</title>
      <description>Melle posted a bug on 2009-02-14 14:16:08</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#243</link>
      <pubDate>2009-06-23 10:50:44</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#243</guid>
    </item>
    <item>
      <title>Amnell</title>
      <description>What the heck... can't get this thing to work... this is what i get from firebug in firefox: "$("input#example").autocomplete is not a function"

Anyone know what could be wrong?</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#242</link>
      <pubDate>2009-06-22 11:36:56</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#242</guid>
    </item>
    <item>
      <title>me</title>
      <description>what these smarty idiots do not realize is, that you can seperate logic from design with php.

i use templates, and my template language is what? yes, php. and i only use php in templates to present dynamic content.

i have never seen such a useless, harming software and it scares me, that people are so stupid to use it.</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#241</link>
      <pubDate>2009-06-19 12:06:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#241</guid>
    </item>
    <item>
      <title>Bouke</title>
      <description>I will try out your plugin. It does however not work well in chrome, the position is not directly under the input box, but instead at the end of the page. Perhaps I can try to fix this.</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#240</link>
      <pubDate>2009-06-11 19:56:03</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#240</guid>
    </item>
    <item>
      <title>Michael</title>
      <description>Hi,

I'm working on a PHP/MySQL version and so far so good.

Is there anyway to store a <option value="--id of selected country dropdown--">none</option> at the head of the STATE dropdown, once a country has been selected ?


Thanks for any tips.

</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#239</link>
      <pubDate>2009-06-09 00:50:22</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#239</guid>
    </item>
    <item>
      <title>jay</title>
      <description>please add the following to fix that 2px issue. 

#banners div img{
  display:block;
}


I made it work 100%. 

Feel free to post any questions. I'll be happy to answers them.</description>
      <link>http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#238</link>
      <pubDate>2009-06-06 18:16:08</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#238</guid>
    </item>
    <item>
      <title>jay</title>
      <description>Okie i spent some time on this and got it working. I have fixed some of the errors form the original script. I tried to fix the space between images and navigation, however i still have 2px space showing up in ie. In my case i am hiding the <span> for SEO purposes.  GOOD luck and if you find the way to fix 2px problem please please email me at jaydhaliwal atttt gmail.com thank you. 

Please fix the css according to your needs. 
1. SQL
2. Javascript
3. CSS
4. PHP

1. SQL

CREATE TABLE IF NOT EXISTS `product_slide_show` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(150) DEFAULT NULL,
  `Anchor_Text` varchar(120) DEFAULT NULL,
  `Image` varchar(250) DEFAULT NULL,
  `Message` longtext,
  `URL` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;


2. Javascript
var current_banner = 1;
  var total_banners = 0;
  var wait = 0;
  
  function banner_init()
  {
  
  
  	//stop banner change if mouse over one banner
  	elements = document.getElementById('banners').getElementsByTagName('div');
  	total_banners = elements.length;
  	for (var i = 0; i < elements.length; i++) 
  	{ 
  		elements[i].onmouseover = function (){ 
    			clearTimeout(wait);
    		}
     		elements[i].onmouseout = function (){
    			clearTimeout(wait);
    			wait = setTimeout('nextBanner()',bannertime);
    		}	
  		
  	}
  	//set navigation
  	elements = document.getElementById('banners').getElementsByTagName('ul')[0].getElementsByTagName('li');
  	total_banners = elements.length;
  	for (var i = 0; i < elements.length; i++) 
  	{ 
  		elements[i].title = i + 1;
  		elements[i].onmouseover = function () 
  		{
  			banner(this.title);
  			clearTimeout(wait);
  		}
  		elements[i].onmouseout = function () 
  		{
  			clearTimeout(wait);
  			wait = setTimeout('nextBanner()',bannertime);
  		}	
    	}
    	wait = setTimeout('nextBanner()',bannertime);
    } 
    
    
    function banner(nr)
    {
    	clearTimeout(wait);
    	elements = document.getElementById('banners').getElementsByTagName('div');
    	li = document.getElementById('banners').getElementsByTagName('ul')[0].getElementsByTagName('li');
    	//hide all divs
    	for (var i = 0; i < elements.length; i++) 
    	{ 
    		if (nr == (i + 1))
    		{
    			//show selected banner
    			elements[i].style.display = "block";
    			li[i].style.background = "#c4c4c4";
    		} else
    		{	//hide everything else
    			elements[i].style.display = "none";    			
    			li[i].style.background = "none";
    		}
    	}
    	wait = setTimeout('nextBanner()',bannertime);
    }
    
    function nextBanner() 
    {
    	if(current_banner < total_banners) {
    		current_banner ++; 
    	}else{	current_banner = 1;
    	}
    	banner(current_banner);
    }
  
    </script>

3. CSS
#banners
{
        width:450px;
}


* html #banners div{
  margin:0px; 
}
#banners div{
  width: auto;
  height: auto;
  display:none;
  margin:0px;

}

#banners #banner1{
  display:block;
}

#banner div a:hover{
  cursor:hand; 
  text-decoration:none;
}





#banners ul{
  list-style-image:none;
  list-style-position:outside;
  list-style-type:none;
  margin:0px;
  padding:0px;
  float:left;
}

#banners ul li{
  display: inline;
  float: left;
  background: url(../images/v_divider.gif) no-repeat scroll right top;
  margin:0 !important;
}

#banners ul li a{
  float: left; 
  font-weight:bold;
  text-decoration: none;
  margin:0 !important;
  color: white;
  padding: 2px 35px;
    
}

#banners ul li a:hover{
  color:#fff;  
}

#banners div span
{
        width:350px;
        position:absolute;
        float:left;
        top:-150px;
        line-height:1.5em;
        left:10px;
        color:black;
        border:5px solid red;
        background:#fff;
        font-size:1.2em;
        padding:5px;
        opacity:0.7;//standard
        filter:alpha(opacity=50);//internet explorer
        -moz-opacity:.50;//older firefox versions
        
}
#banner div img{
  border: 0px;
  display:block;
}

4. PHP
      <div id="banners">
      
      <?
      
      //get all rows
      $connection = connect_db();
      $query = 'SELECT * FROM product_slide_show';
      $result = mysql_query($query);
      $rows = array();
      while($row = mysql_fetch_assoc($result))
        $rows[] = $row;
      close_connect_db($connection);
      for ($i =0; $i < sizeof($rows);$i++){
          $url = '';
          $msg = '';
          $img = '';
          $url = $rows[$i]['URL'];
          $msg = $rows[$i]['Message'];
          $img = $rows[$i]['Image'];     
          if($msg != '' && $url != '' && $img != ''){?>        
          
          <div id="banner<?echo $i+1;?>" class="banner_divs">           
                <a href="/<?echo $url;?>"> 
                <img src="./images/slide_show/<?echo $img;?>" ></a>
                <span><?echo $msg;?></span>
          </div>
        <?
          }
      }?>
        <ul>
        <?for ($i =0; $i < sizeof($rows);$i++){
          $url = '';
          $msg = '';
          $url = $rows[$i]['URL'];
          $msg = $rows[$i]['Message']; 
          $achor = $rows[$i]['Anchor_Text'];
          if($msg != '' && $url != '' && $img != ''){?>        
                <li><a href="/<? echo $url;?>"><?php echo $achor;?></a></li>
          <?}
          }?>
        </ul>
    </div>
    <script>bannertime = 2000;banner_init();</script></description>
      <link>http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#237</link>
      <pubDate>2009-06-06 18:02:35</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#237</guid>
    </item>
    <item>
      <title>bobik</title>
      <description>HI, i`m problem with this code in Mozilla, Opera and Explorer 6 and down version. This code is corect in Expolrer 7. Where is error. Please help me.</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#236</link>
      <pubDate>2009-06-04 08:05:30</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#236</guid>
    </item>
    <item>
      <title>aditya</title>
      <description>above code is not working with IE7.....give any solution.</description>
      <link>http://codeassembly.com/How-to-center-a-page-layout/#235</link>
      <pubDate>2009-05-30 09:18:48</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-center-a-page-layout/#235</guid>
    </item>
    <item>
      <title>John</title>
      <description>I've been using SMARTY for years and I must say that it makes web development much easier (and cleaner). I do agree that the templating language is a bit looser than it should be. But isn't php itself guilty of that as well? But if you stick to the SMARTY basics (variables, loops, conditionals, includes) it's really smooth. It reminds me a lot of Perl's HTML::TEMPLATE.

I've also used the templating solution that CAKEPHP adopts and I've found that it provides too much abstraction. And still, it litters your template with PHP tags. Simple operations are often difficult and the learning curve is much higher than that of using SMARTY.

SMARTY is also great to use when working with JQuery or even creating XML files. If used correctly, SMARTY is successful in truly separating business logic from display logic. I'm actually a bit surprised by the comments here. Hey, but whatever works for you...</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#234</link>
      <pubDate>2009-05-29 13:49:50</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#234</guid>
    </item>
    <item>
      <title>PHP programmer Ukraine</title>
      <description>I dislike your idea:

is is not css, people must learn new syntax:
"if:($price > 300 )//conditions"

and if to parse html, then why not xslt? it's at least standartised. And time does not matter here if to use caching.</description>
      <link>http://codeassembly.com/What-cascading-html-template-sheet-is/#233</link>
      <pubDate>2009-05-22 13:49:37</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/What-cascading-html-template-sheet-is/#233</guid>
    </item>
    <item>
      <title>Franck</title>
      <description>Well i used smarty 2 years but finally back to php templates itself. Smarty was pleasant and easy to work with but i come to the conclusion that it's only adding another unnecessary layer.

I think Smarty is great for someone who doesn't have MVC programming habbit but want to seperate business logic from template. But when you are able to write websites with MVC pattern or with the help of a framework, Smarty will not be the best solution.

A simple registry class can help you to achieve good code separation for small / medium website. Ex:

registry.php
<code>
<?php
class registry
{
    private $vars = array();

    public function __set($name,$value = null)
    {
        $this->vars[$name] = $value;
    }  

    public function __get($name)
    {
        if(isset($this->vars[$name])) return $this->vars[$name];
        else return null;
    }
}
?>
</code>

logic.php
<code>
$tpl = new registry();

//do logic stuff...

//assign tpl vars

$tpl->pageTitle = 'my page title blabla';
$tpl->datas = array('x','y','z');
</code>

template.php
<code>

<h1> <?php echo $tpl->pageTitle; ?> <h1>

<?php foreach($tpl->datas as $data) { echo $data.'<br />'; } ?>

</code>
</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#232</link>
      <pubDate>2009-05-17 15:14:35</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#232</guid>
    </item>
    <item>
      <title>Katrin Konstantin</title>
      <description>I would like to know if there is a way to call a url when I choose something in the third combobox. For example when I choose a city eg. New York I would like automatically to be redirected to another webpage eg. newyork.html. I imagine that the links will be defined within the array. I don't know much about php so I need some help.

Thanks in advance</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#231</link>
      <pubDate>2009-05-09 07:03:24</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#231</guid>
    </item>
    <item>
      <title>Alex</title>
      <description>Hello,

can I make a link from the choice of the third select box?? Please help!!</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#230</link>
      <pubDate>2009-05-08 09:17:28</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#230</guid>
    </item>
    <item>
      <title>Akis</title>
      <description>Hello,

I've downloaded and tested it but cannot make it work. When a make a choice from the first combo it displays "loading" and it doesn't display anything. I've changed the url of the combobox.php but still nothing. Anybody can help???????????

Thanks</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#229</link>
      <pubDate>2009-05-04 15:22:00</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#229</guid>
    </item>
    <item>
      <title>Guido</title>
      <description>I needed a onselect function also. Your code was so clean, it was easy to add.
In the section of click(function ()
you can add :
if (typeof settings.onselect == "function")
{				     settings.onselect(valueInput.val(),textInput.val());
}

</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#228</link>
      <pubDate>2009-04-28 03:37:25</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#228</guid>
    </item>
    <item>
      <title>lelebart</title>
      <description>hi! 
i gone mad with html special char, so i've added few lines to PHP the code, just before to json_encode:

[previous code]
//html special char fix by lelebart \\start
foreach($array as $key => $val) {
	foreach($array[$key] as $chiave => $valore) {
		$array[$key][$chiave] = utf8_encode($valore);
	}
}
//html special char fix by lelebart \\end
echo json_encode($array);

hope to be useful. feel free to update.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#227</link>
      <pubDate>2009-04-26 14:51:09</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#227</guid>
    </item>
    <item>
      <title>Locnav</title>
      <description>i tried the script but it doesn't show the plus and minus images.
does it matter if i'm running the server on windows?</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#226</link>
      <pubDate>2009-04-23 21:10:28</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#226</guid>
    </item>
    <item>
      <title>Videolu Dersler</title>
      <description>Thanks!

i just rewrote this to be an onchange event and all is fine in opera-mini / iphone etc..

Cheers

Justin</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#225</link>
      <pubDate>2009-04-21 07:55:28</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#225</guid>
    </item>
    <item>
      <title>Hannie</title>
      <description>Thank you so very much! I've always wanted to know how to center a layout. Life savior :)</description>
      <link>http://codeassembly.com/How-to-center-a-page-layout/#224</link>
      <pubDate>2009-04-19 06:52:58</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-center-a-page-layout/#224</guid>
    </item>
    <item>
      <title>Alexandre Broggio</title>
      <description>very cool galery </description>
      <link>http://codeassembly.com/jQuery-morphing-gallery/#223</link>
      <pubDate>2009-04-16 10:12:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/jQuery-morphing-gallery/#223</guid>
    </item>
    <item>
      <title>Edward</title>
      <description>I am trying to get the code to work. The first combobox shows and is filled. after select on first combobox the second and third boxes show, but are empty. What could cause this. Please advise.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#222</link>
      <pubDate>2009-04-14 15:19:22</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#222</guid>
    </item>
    <item>
      <title>lhenry</title>
      <description>I found it was very diffcicutl to use without the mouse.. tabbing would pass to the next field and leave the suggestion open

i added this line  

if (e.which == 9) clear();

at the end of this code

//set selected item and input values

textInput.val( list.children().removeClass('selected').eq(selected).addClass('selected').text() );	        

valueInput.val( list.children().eq(selected).attr('value') );


now it works just as we are used to, just like the browser autocomplete (wich I defeated with 
textInput.attr('autocomplete','off');</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#221</link>
      <pubDate>2009-04-11 09:38:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#221</guid>
    </item>
    <item>
      <title>enrico villa</title>
      <description>Great job .. minimal and very effective !

tnx !

</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#220</link>
      <pubDate>2009-04-11 08:39:51</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#220</guid>
    </item>
    <item>
      <title>Help with Smarty Code</title>
      <description>I do hope you can help me with this. How exactly can you break each word on each title with comma? Is this possible by adding a code?

I know you can break series of titles by adding {cycle values=", , , , ,"}. 

What about on a single title but would like to break each word in it with a comma.

Appreciate any response from you either on this post or via email.

Thanks.</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#219</link>
      <pubDate>2009-04-10 13:10:55</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#219</guid>
    </item>
    <item>
      <title>phperson</title>
      <description>Well... Templating sucks.. anyway you can write your own templating engine rather understanding (hardly) someones work
</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#218</link>
      <pubDate>2009-04-07 06:41:22</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#218</guid>
    </item>
    <item>
      <title>Jan</title>
      <description>FSan (and most others):
Use this :
http://blog.kotowicz.net/2009/03/jquery-optiontree-demo.html

Chain boxes as many times you like. No Ajax, you prepare the date beforehand. 

Although 4 clicks for the user to get to what he/she needs? Consider a nested pulldown menu. 

</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#217</link>
      <pubDate>2009-03-24 15:56:54</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#217</guid>
    </item>
    <item>
      <title>Dylan</title>
      <description>I think it'd be neat if the size of the image fading out, was slowly morphed to fit the size of the image fading in.  Of course there'd be distortion, but since it's fading out, it might look cool.</description>
      <link>http://codeassembly.com/jQuery-morphing-gallery/#216</link>
      <pubDate>2009-03-24 09:47:47</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/jQuery-morphing-gallery/#216</guid>
    </item>
    <item>
      <title>FSan</title>
      <description>Can this work with any number of selects?
More than 3?
Is there any consideration to make it work with let's say 4?
Thanks a lot</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#215</link>
      <pubDate>2009-03-21 12:30:38</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#215</guid>
    </item>
    <item>
      <title>Jan</title>
      <description>This is a ridiculous jquery-plugin. Using ajax for this purpose is silly unless the amount of data is large, and in that case another presentational approach with less clicks would be preferred. This should at a minimum be solved without any serverside integration, and with cached data created at point of data modification. The complexness in this project is totally useless, and only creates trouble. Added to my extensive list of useless, bad written jquery-plugins.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#214</link>
      <pubDate>2009-03-21 08:07:41</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#214</guid>
    </item>
    <item>
      <title>Jan</title>
      <description>The Smarty way is truly a good way - if you need it. And most projects do need it, even if they know/realize it or not.

When to use smarty (or other template engines) :
 - When designers need access to your templates
 ||
 - When the programmer needs to be forced into good coding practices - especially separating business logic from presentation logic. This forcing is required on 95% of php-developers.

When you can skip smarty and use only php:
 - No designers (by good start realizing you need theese)
 &&
 - The programmer understands the separation issue well enough to well..eh... SEPARATE! (the remaining 5% of php-developers)

I'm myself one amongst those 5%, but I still use smarty. Partially because of the habit, partially because of the potential that a smarty-schooled designer might find its way into the employee despite of the firms incompetent leadership and partially because in any php-development-firm, there is most likely 1 or more developers not amongst the 5%, and they need to be forced. Theese are usually the high degree advanced programmers, switching from c++ or java to our "ridiculous" little language. Theese are the ones that constantly complain about loose typing, the lack of namespaces, and the need to bother themselves' busy minds with the lowbie presentational layer called html. Theese are the ones that create themselves a function to write a BR. Theese are the ones that think KISS is just a rock band, and spend a ridiculous amount of time trying to fit everything into a service-based system, where they cant rest before the singelton-pattern is in place and where everything is XML (needed or not, smart or not). Theese are the ones using a horrible amount of time programming in their hyper-advanced system just to make a mediocre guestbook (ofc it is very safe now...). Theese are the ones with knowledge of about 2% of the built-in php functions, utilizing substr, strpos, str_replace, if and else to proposterous, idiotic levels. Theese are the ones running your company bankrupt because of efficiency troubles. Theese are the ones putting the blame on php for "letting them" make the mistakes they do. "A real programming language wouldn't allow this programming mistake!" LEARN PHP BEFORE YOU WRITE, TAKE RESPONSABILITY FOR YOUR CODE!

Frustration "out".
</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#213</link>
      <pubDate>2009-03-21 07:33:35</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#213</guid>
    </item>
    <item>
      <title>John Morris</title>
      <description>Any way to make the list appear quicker? it's taking like 3 seconds, an dI would like it to redraw after each keystroke.</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#212</link>
      <pubDate>2009-03-20 06:37:15</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#212</guid>
    </item>
    <item>
      <title>Emmanuel</title>
      <description>I think i agree with what you said about "THOSE TEMPLATING THINGS".. Its just that you  have to get involved in some weilrd kinda stuff, all in the name of  advancement.

Well, i think its kinda cool, but thats if and only if you get a very good tutorial and or material to use in learning this things.

Cheers.</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#211</link>
      <pubDate>2009-03-05 09:00:21</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#211</guid>
    </item>
    <item>
      <title>AD</title>
      <description>Although I got your code working fine, here's what I'd to see a tutorial on.

A chained select using PHP/MySQL, with 3 tables lets say countries -> states -> cities

And using ajax with the fancy "loading" div..

Thanks

</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#210</link>
      <pubDate>2009-03-06 10:23:49</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#210</guid>
    </item>
    <item>
      <title>Jesse</title>
      <description> To those who use smarty for big projects; good for you. Modifing design is a pain when its repeated/mixed in the logic.

To those who use it for tiny projects; boo. There are more people involved than just the programmers and designers. The system admins have to setup up the engines and the compilers. For what? To make the programmers job easier. It just makes it difficult for the majority to take full advantage of PHP. Ive had to give up on great apps because they had dependence my server doesn't have.

Straight code sometimes just works better. Smarty is NOT always the right answer.

The programmer, designer and the admin relationship remind me of a law. The law of conservation of energy states that the total amount of energy in an isolated system remains constant. To get an app on the web the amount of energy remains constant. You can bet if the designer is using less the programmer and admin are using more. 

Smarty is flocked to now but there will be something the next generation flocks to and all our knowledge will depreciate. 
</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#209</link>
      <pubDate>2009-03-04 19:55:47</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#209</guid>
    </item>
    <item>
      <title>Melle</title>
      <description>Excellent code! Found a small bug in lines 61 and 85.

if (settings.before == "function")
...

should become

if (typeof settings.before == "function")
...

same for checking of the 'after' function.</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#208</link>
      <pubDate>2009-02-26 07:15:39</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#208</guid>
    </item>
    <item>
      <title>hans</title>
      <description>If I use Korean or japan or china language.

looks like this..
-------------------------
$array[] = array('1' => '´º¿å');
-------------------------

I can not see the language.

I see just blank..

What should I do..?</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#207</link>
      <pubDate>2009-02-25 12:50:20</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#207</guid>
    </item>
    <item>
      <title>t-man</title>
      <description>Great script!
Bu it doesn't seem to work when I want to add 2 forms to my page.
When I click submit on one of both forms, both forms are automatically validated. Even if I use different names for all the objects.

Is this normal or am I doing something wrong?</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#206</link>
      <pubDate>2009-02-21 14:35:28</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#206</guid>
    </item>
    <item>
      <title>potherca</title>
      <description>You might want to take a look at TAL (or PHPTAL for the php implementation). From what I gather it comes pretty close to solving most (if not all) of the problems and demands you wrote about in both your posts on CHTS. If it doesn't solve your problem, I'm pretty sure it'll be a nice point of inspiration.

(Although I might be missing some of your points... I've tried to read both your post attentionately, but I feel like I might be too tired right now to really absorb it properly...)
</description>
      <link>http://codeassembly.com/What-cascading-html-template-sheet-is/#205</link>
      <pubDate>2009-02-17 10:15:28</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/What-cascading-html-template-sheet-is/#205</guid>
    </item>
    <item>
      <title>rdi</title>
      <description>To remove [Tab] bug, edit the line in "jquery.autocomplete.js":

From:
else if(e.which == 40 || e.which == 9 || e.which == 38)//move up, down 

To:
else if(e.which == 40 || e.which == 38)//move up, down </description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#204</link>
      <pubDate>2009-02-14 14:16:08</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#204</guid>
    </item>
    <item>
      <title>bharanikumar</title>
      <description>The code not working for me,

It just showing the loading image,

even i change the code like 

$('#country').chainSelect('#state','/examples/jquerycombo/combobox.php',

To

$('#country').chainSelect('#state','combobox.php',


Even not working

Thanks

reach me at

bharanikumariyerphp at gmail dot com</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#203</link>
      <pubDate>2009-02-13 11:22:25</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#203</guid>
    </item>
    <item>
      <title>kyle</title>
      <description>Works perfectly! I was about to write a class to do something like this myself but I thought i'd browse the web first...no sense re-inventing the wheel. Thanks a million.</description>
      <link>http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#202</link>
      <pubDate>2009-02-12 08:43:15</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#202</guid>
    </item>
    <item>
      <title>Thomas</title>
      <description>Hi, I enjoyed your tutorial. However with a category structure of up to 3000 different rows. The code does run slow.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#201</link>
      <pubDate>2009-02-12 04:30:44</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#201</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>I have created extremely large estimation systems, various large shopping carts, job boards, etc. - so I'm no amateur to the PHP development environment, nor the ASP, VB, RealBasic, etc. 

Smarty Templates are NOT useful, and in fact get in the way and truly cause many issues amongst both the designers and the developers. They're confusing to just about everyone, completely unnecessary, and are time consuming to say the LEAST!

Drew, you seem extremely proud of your work and from what it sounds like, it's SOOOO good that you don't even want people smelling it more or less actually seeing it (sheesh - gimme a break). 

Your comments are ridiculous and actually humorous. 

For anyone out there thinking of using Smarty Templates, DON'T - you'll find yourself with loss of time and a tremendous headache.

I wish Drew the best in his amazing programming!!! Can't wait to smell his next project (wonder what that smells like...hint).


</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#200</link>
      <pubDate>2009-02-05 11:37:49</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#200</guid>
    </item>
    <item>
      <title>Mahmoud M. Abdel-fattah</title>
      <description>It works fine, but I want to use many of it on one page, in another way I want to use it with :

http://mohdshaiful.wordpress.com/2007/05/31/form-elements-generation-using-jquery/


How can this be done ?</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#199</link>
      <pubDate>2009-02-04 17:22:21</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#199</guid>
    </item>
    <item>
      <title>Ben</title>
      <description>I tried this in IE7 but half of mine page is out of the screen, to the right.
Is there a code for correcting this?</description>
      <link>http://codeassembly.com/How-to-center-a-page-layout/#198</link>
      <pubDate>2009-02-04 09:34:52</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-center-a-page-layout/#198</guid>
    </item>
    <item>
      <title>WildMax</title>
      <description>If there a way to onload the chained combobox,  will get all the  3 textbox. Instead we had to select other option and back to first option.

[French] [No State] [No City]</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#197</link>
      <pubDate>2009-01-20 06:39:11</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#197</guid>
    </item>
    <item>
      <title>Codeassembly</title>
      <description>It was because of an extra , on which IE was chocking.</description>
      <link>http://codeassembly.com/jQuery-morphing-gallery/#196</link>
      <pubDate>2009-01-12 04:42:02</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/jQuery-morphing-gallery/#196</guid>
    </item>
    <item>
      <title>Allain Lalonde</title>
      <description>Sounds like your trying to do on the server side what it'd be trivial to do using jQuery on the client side.  

It supports css selection, DOM transforms, etc... If you gave it a JSON object for rendering in the view... it'd transform the page any way you wrote it to.

You might want to look into server side JavaScript.  If for no other reason than it seems to line up pretty well with what you're thinking.

My 2 cents

</description>
      <link>http://codeassembly.com/What-cascading-html-template-sheet-is/#195</link>
      <pubDate>2009-01-11 21:43:46</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/What-cascading-html-template-sheet-is/#195</guid>
    </item>
    <item>
      <title>John</title>
      <description>Yeah, I'm having the same difficulties with IE.  Gives error: Object doesn't support this property or method.

Any ideas of why this is happening?</description>
      <link>http://codeassembly.com/jQuery-morphing-gallery/#194</link>
      <pubDate>2009-01-09 19:11:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/jQuery-morphing-gallery/#194</guid>
    </item>
    <item>
      <title>ahmed</title>
      <description>thank you so much
i used it in my games site;
http://gamezat.net 
for hide flashes</description>
      <link>http://codeassembly.com/Tips-on-how-to-show-a-div-above-a-page-that-has-flash-objects/#193</link>
      <pubDate>2009-01-07 07:10:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Tips-on-how-to-show-a-div-above-a-page-that-has-flash-objects/#193</guid>
    </item>
    <item>
      <title>ÇáÚÇÈ</title>
      <description>it's not work for me any fix for ie7 ? </description>
      <link>http://codeassembly.com/jQuery-morphing-gallery/#192</link>
      <pubDate>2009-01-07 07:08:17</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/jQuery-morphing-gallery/#192</guid>
    </item>
    <item>
      <title>Jeevan K Augustin</title>
      <description>it's working fine..setting the wmode to transparent option.. thanks a lot for the information</description>
      <link>http://codeassembly.com/Tips-on-how-to-show-a-div-above-a-page-that-has-flash-objects/#191</link>
      <pubDate>2009-01-05 23:42:44</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Tips-on-how-to-show-a-div-above-a-page-that-has-flash-objects/#191</guid>
    </item>
    <item>
      <title>Ryan</title>
      <description>How am i supposed to enter the html code? i know how and where to enter it but where am i supposed to place the text and stuff if you know what i mean.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#190</link>
      <pubDate>2009-01-05 09:42:46</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#190</guid>
    </item>
    <item>
      <title>Daniel</title>
      <description>If you want to display every folder with parent of 0 just replace
			
if ($has_childs === false)
			{
				//don't print '<ul>' multiple times				
				$has_childs = true;
				echo '<ul>';
			}
With

			if ($has_childs === false)
			{
				//don't print '<ul>' multiple times				
				$has_childs = true;
				echo '<ul id="categories">';
			}


And Replace 
<ul id="categories">
<li>Nested menu categories
<?php
generate_menu(0);
?>
</li></ul>

With

<?php 
generate_menu(0);
?></description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#189</link>
      <pubDate>2009-01-04 20:55:09</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#189</guid>
    </item>
    <item>
      <title>pozycjonowanie stron</title>
      <description>Hi all! Just small update... for those who do not want to display empty options if option is null or 0 (zero).

Please update in HTML file 2 times:
(...)



		before:function (target) 
		{ 
			$("#loading").css("display","block");
			$(target).css("display","none");
		},
		after:function (target) 
		{ 
			$("#loading").css("display","none");
			$(target).css("display","inline");

			//hide empty select's if == null (you can use == 0 for article example)
			if ($(target).val() == null) 
			{
				$(target).css("display","none");
			}

		}

(...)

Enjoy!</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#188</link>
      <pubDate>2009-01-02 15:06:22</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#188</guid>
    </item>
    <item>
      <title>Basolo24</title>
      <description>Just to make a note!

All good password cracking tools usually start at a 6 character min. and sometimes if not most of the time a smaller password is better! with a mix of cap to lower and numbers. 
                               
                                    Happy New Years!!</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#187</link>
      <pubDate>2009-01-02 09:11:36</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#187</guid>
    </item>
    <item>
      <title>Joe</title>
      <description>Another possible bug, I may have found. When someone types in something not that is not in the json result, and presses [Tab] the input field is cleared.</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#186</link>
      <pubDate>2008-12-30 13:28:57</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#186</guid>
    </item>
    <item>
      <title>evden eve nakliye</title>
      <description> just rewrote this to be an onchange event and all is fine in opera-mini / iphone etc..
</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#185</link>
      <pubDate>2008-12-26 12:08:17</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#185</guid>
    </item>
    <item>
      <title>Alan Charles</title>
      <description>By your script "aaaaaaaaaaaa" is a 'better' password.  Better than what? Assigning points for length is great and all, but you need to be more dynamic when assigning points.  Also, "Aaaaaaaaaaaa" should not be considered a 'medium' password.  A descent brute force would have this one in a couple of hours tops.  You should place a regex check in there that will deduct a point for repetition such as this.  

Last one is "123456789012" is also considered a 'medium' password.  Numeric stringing (numbers in sequential order) is never a good idea.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#184</link>
      <pubDate>2008-12-23 09:53:04</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#184</guid>
    </item>
    <item>
      <title>pr0t0</title>
      <description>Hello,

Thanks for this usefull plugin.

I'm also interested in passing the 1st option to use it for the third box :)
</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#183</link>
      <pubDate>2008-12-17 09:56:28</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#183</guid>
    </item>
    <item>
      <title>hezll</title>
      <description>a question ,if I want transfer the first option val to the third

how?

because after_table 
1999 beijng 1
1999 beijng 2
2000 beijing 1
2000 beijing 3
and now just only pass the second option val beijing to the third
as you see ,the sql "select * from after_table where city = beijing"the result is confused .
it must be "select * from after_table where city= beijing and year = 1999"
</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#182</link>
      <pubDate>2008-12-10 01:39:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#182</guid>
    </item>
    <item>
      <title>hezll</title>
      <description>Hello,I have found a bug with Drupal in IE 
At first ,it's really a good job.I have try it under IE and ff,it's great.
But when I try to move it into a Drupal module ,I found a little bug in IE.
sturcter:
         class1
        /
    1996-class2
        \
         class3

     1997
          g1
         /
     1998-g2
         \
          g3
and when I select the first option eg:1998,the second option chaned to g1.
but afterwhile the first option change back to 1996
this bug is found in IE ,not FF.and with Drupal

solution:
jquery.ChainSelect.js line 65: add // 
if (settings.defaultValue != null)
			{
				$(target).val(settings.defaultValue);//select default value
			} else
			{
				//$("option:first", target).attr( "selected", "selected" );//select first option
			}
Ok ,now there is no problem.haha</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#181</link>
      <pubDate>2008-12-09 01:01:26</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#181</guid>
    </item>
    <item>
      <title>Neal</title>
      <description>One apparent bug...  if the drop down list fills and you click off the field (focus on field blurs) the drop down list remains (needs to go away).</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#180</link>
      <pubDate>2008-12-06 07:36:55</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#180</guid>
    </item>
    <item>
      <title>Eric Renfro</title>
      <description>Hello,

I was curious, I'm trying to pass values to the chainSelect function to be passed as further parameters to the URI, so I could include things like other select option's values for hierarchical selective data. Beings that the call is formed off a php script, in this example, the possability of using it with database lookups, live, is also there.

Say for example, I have a selection A, it has values that relate to selection B, and finally selection C which is based on the values of selection A + B together. 

How would you do something like this? If you would, and have ideas, please email me any ideas, as I am not too familiar with js itself, let alone JSON or AJAX or jQuery themselves, I've mostly been involved in PHP, Perl, etc.
</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#179</link>
      <pubDate>2008-12-05 04:53:14</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#179</guid>
    </item>
    <item>
      <title>SMC</title>
      <description>this really helped, thankyou so much!!</description>
      <link>http://codeassembly.com/How-to-center-a-page-layout/#178</link>
      <pubDate>2008-12-05 08:58:08</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-center-a-page-layout/#178</guid>
    </item>
    <item>
      <title>Luke</title>
      <description>Thanks a lot!! This is great and was really missing!!!
</description>
      <link>http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#177</link>
      <pubDate>2008-11-25 09:40:53</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/#177</guid>
    </item>
    <item>
      <title>sreenu</title>
      <description>hi,

How to move selected options of one combo box to another combo box using >> button or << button in php? pls any one help me

my code is

<td style="width: 100px;"><label for="city">City(s)</label>
<br />

<?php
$city = $_POST['CityId'];
if($country)
echo $this->formSelect('CityId', $city, array('multiple'=>'true','style'=>'height: 100px; width: 100px;'), $this->getCitysinIndia());
else
echo $this->formSelect('CityId', 'Hyderabad', array('multiple'=>'true','style'=>'height: 100px; width: 100px;'), $this->getCitysinIndia());
?>
</td>

<td style="width: 30px;">
<input style="width: 120px;" type="button" name="toright" value=">>" onclick="" /><br />
<input style="width: 120px;" type="button" name="toleft" value= "<<" onclick="" />
</td>

<td>
<label for="selCity">Selected City(s)</label>
<select id="selCity" multiple="multiple" style="height: 100px; width: 100px;"></select>
</td>


Thanks,
Sreenu</description>
      <link>http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#176</link>
      <pubDate>2008-11-24 01:13:53</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#176</guid>
    </item>
    <item>
      <title>jon</title>
      <description>Nice code, although it seems to suffer from problem that all php beautify scripts I've seen.

php has for sometime had alternative syntax for control structures. I understand that these are the preferred syntax (although old school users aren't likely to switch to them).

But it would be nice to beautify if...end, while...endwhile, for...endfor etc. </description>
      <link>http://codeassembly.com/A-php-code-beautifier-that-works/#175</link>
      <pubDate>2008-11-24 06:55:04</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-php-code-beautifier-that-works/#175</guid>
    </item>
    <item>
      <title>paul</title>
      <description>The NIST has Special Publication 800-63, Electronic Authentication Guideline, which goes into quite a lot of detail re: password strength. Google it and read Appendix A for some good guidelines. It should be fairly straight forward to implement some or all of their recommendations in this framework. Good job!</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#174</link>
      <pubDate>2008-11-05 16:47:30</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#174</guid>
    </item>
    <item>
      <title>yeah</title>
      <description>big up yourself and keep it real. R.E.S.T.E.C.P. only i would use high quality images designed with photoshop instead of the background color. booyakasha</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#173</link>
      <pubDate>2008-10-31 08:05:03</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#173</guid>
    </item>
    <item>
      <title>S. Charts</title>
      <description>Thanks for the information that you are giving. I want to see more. 

S. Charts</description>
      <link>http://codeassembly.com/How-to-implement-Mysql-full-text-search-on-a-big-website/#172</link>
      <pubDate>2008-10-31 02:30:32</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-implement-Mysql-full-text-search-on-a-big-website/#172</guid>
    </item>
    <item>
      <title>Gijs</title>
      <description>Hi, i have tried the example and looks great, but i think i am missing something.

After choosing the first selection, i get a nice second selection, but then something wierd is happening.
The third part of this combo, seems not to depend on my second choice?

The option values are always numbered from 0 to X, so my third choice does not depend on my second?

For example:

	 // 1 = Demi
	 
	 if ( $_GET['_value'] == 1 )
	 {
		  $array[] = array('1' => 'Demi 1');
		  $array[] = array('2' => 'Demi 2');	
		  $array[] = array('3' => 'Demi 3');
		  $array[] = array('4' => 'Loop 1');
		  $array[] = array('5' => 'Loop 2');	
		  $array[] = array('6' => '1140 systeem');
	 } 
   else
	 {
	    $array[] = array('0' => '---');
   }
	 
	 // 2 = WFI
	 	
	 if($_GET['_value'] == 2 )
	 {
	    $array[] = array('1' => 'Distiller 1');
		  $array[] = array('2' => 'Distiller 2');	
		  $array[] = array('3' => 'Distiller 3');
		  $array[] = array('4' => 'Loop 1');
		  $array[] = array('5' => 'Loop 2');	
		  $array[] = array('6' => '1150 systeem');
		  $array[] = array('7' => '1153 systeem');
	 } 
   else
	 {
	    $array[] = array('0' => '---');
   }

and some more examples.

So, when i choose the first or second option, i always get teh same third selection from:

elseif ($_GET['_name'] == 'subdeel') 
{
	 if ( $_GET['_value'] ==1 )//New York
	 {
		$array[] = array('1' => 'New York');
		$array[] = array('2' => 'Another city');	
	  } 
		else
	  {
		  $array[] = array('0' => '---');
	  }


The generated source code is:

<form name="formname" method="post" action="">
	<!-- country combobox -->
	<select id="installatie" name="installatie">
	 <option value="99" selected="selected">Rest</option>
	 <option value="1">Demi</option>
	 <option value="2">WFI</option>
	 <option value="3">Drinkwater</option>

	 <option value="4">HVAC</option>
	 <option value="5">Stoom</option>
	 <option value="6">CIP</option>
	 <option value="7">Gassen</option>
	 <option value="8">Heet water</option>
	 <option value="9">Koelkasten/Vriezers</option>

	 <option value="10">Afvalwater</option>
	 
	</select>
	<!-- state combobox is chained by country combobox-->
	<select name="subdeel" id="subdeel" style="display: inline;"><option value="0">---</option><option value="1">Distiller 1</option><option value="2">Distiller 2</option><option value="3">Distiller 3</option><option value="4">Loop 1</option><option value="5">Loop 2</option><option value="6">1150 systeem</option><option value="7">1153 systeem</option><option value="0">---</option><option value="0">---</option><option value="0">---</option><option value="0">---</option><option value="0">---</option><option value="0">---</option><option value="0">---</option><option value="0">---</option></select>

	<!-- city combobox is chained by state combobox-->
	<select name="subsubdeel" id="subsubdeel" style="display: inline;"><option value="1">New York</option><option value="2">Another city</option></select>
</form>

Please help?

</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#171</link>
      <pubDate>2008-10-26 12:47:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#171</guid>
    </item>
    <item>
      <title>Per</title>
      <description>First of all great work.

I have however been struggling to find a straightforward way to implement multiple instances of this script on the same page, for eg by passing two variables from the navigation buttons to the banner function: banner(nr,instance). Could you give me a hint how to make this work?

I could loop the entire script in PHP for every instance and rename the functions for each - but it seems extremely inefficient....

</description>
      <link>http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#170</link>
      <pubDate>2008-10-19 12:34:20</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#170</guid>
    </item>
    <item>
      <title>Franko</title>
      <description>thanks for your help. Very useful information.</description>
      <link>http://codeassembly.com/How-to-center-a-page-layout/#169</link>
      <pubDate>2008-10-17 16:49:21</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-center-a-page-layout/#169</guid>
    </item>
    <item>
      <title>Adam</title>
      <description>Is there any way to do this without the unordered list at the bottom?  IE, if I just want next/previous buttons?  Also, how do you get the last image to loop around to the first image?  Thanks.</description>
      <link>http://codeassembly.com/jQuery-morphing-gallery/#168</link>
      <pubDate>2008-10-12 00:11:26</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/jQuery-morphing-gallery/#168</guid>
    </item>
    <item>
      <title>Justin Kelly</title>
      <description>Thanks!

i just rewrote this to be an onchange event and all is fine in opera-mini / iphone etc..

Cheers

Justin</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#167</link>
      <pubDate>2008-10-12 19:33:41</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#167</guid>
    </item>
    <item>
      <title>&#1576;&#1585;&#1575;&#1605;&#1580;</title>
      <description>good tutorial 

and I have innodb to billion rows with mysql .

thank you</description>
      <link>http://codeassembly.com/How-to-implement-Mysql-full-text-search-on-a-big-website/#166</link>
      <pubDate>2008-10-11 17:24:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-implement-Mysql-full-text-search-on-a-big-website/#166</guid>
    </item>
    <item>
      <title>Robson</title>
      <description>I'm having a problem I couldnt solve using this (fantastic) plugin.
The first option of my combo is "All the cities" and the option value is "" I've made everything so that the script isnt activated when this option is selected but nothing has worked. May someone help?? 
Thanks in advance.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#165</link>
      <pubDate>2008-10-08 04:14:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#165</guid>
    </item>
    <item>
      <title>Codeassembly</title>
      <description>Justin, I don't think Opera mini supports ajax

"Given handset limitations and Opera Mini's client-server architecture, "Ajax" applications cannot be expected to work as expected on Opera Mini."

You can read more here http://dev.opera.com/articles/view/javascript-support-in-opera-mini-4/
As an alternative you can submit form data on combobox onchange event and reload the entire page.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#164</link>
      <pubDate>2008-10-03 05:58:29</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#164</guid>
    </item>
    <item>
      <title>Justin Kelly</title>
      <description>anyone know re above issues - chained select and iphone/opear mobile etc..

note: i'm will to put a $50 US bounty to get this issue fixed up it that helps

Cheers

Justin</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#163</link>
      <pubDate>2008-10-01 17:54:09</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#163</guid>
    </item>
    <item>
      <title>Bungie</title>
      <description>I didn't unstand what does this mean "I removed the multi-threading --with-mpm=worker it works now". if possible, write in simple words.</description>
      <link>http://codeassembly.com/Bug-fix-for-apache-2.2.6-compilation-on-64-bit-linux/#162</link>
      <pubDate>2008-09-30 22:54:44</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Bug-fix-for-apache-2.2.6-compilation-on-64-bit-linux/#162</guid>
    </item>
    <item>
      <title>Waitman</title>
      <description>don't these contradict each other? enable and disable?
-mmmx -mno-mmx 
-msse2 -mno-sse2 
-msse3 -mno-sse3 
-mssse3 -mno-ssse3</description>
      <link>http://codeassembly.com/Upgrade-to-apache-2.2.6-without-downtime/#161</link>
      <pubDate>2008-09-23 15:43:49</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Upgrade-to-apache-2.2.6-without-downtime/#161</guid>
    </item>
    <item>
      <title>Sam</title>
      <description>Very nice tutorial. In fact I was looking for one like this to implement in my project. Good Work. Keep it up.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#160</link>
      <pubDate>2008-09-19 05:34:52</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#160</guid>
    </item>
    <item>
      <title>Einars</title>
      <description>Well done! A minor glitch with heredoc, though:

printf(<<<XXX
lalala
XXX
);

shouldn't join the last lines to "XXX);" but leave them as they are.</description>
      <link>http://codeassembly.com/A-php-code-beautifier-that-works/#159</link>
      <pubDate>2008-09-18 10:50:53</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-php-code-beautifier-that-works/#159</guid>
    </item>
    <item>
      <title>Justin Kelly</title>
      <description>Hi,

first - thanks for the great plugin!!

1 problem:
- alls working fine until i tested on mobile browser (opera mini and ie on htc touch)
- the mini browser have a custom select box thing (like the iphone) and once you select an item in your select it doesn't seem to register 

you can test the demo page http://www.codeassembly.com/examples/jquerycombo/test.html in the online opera mini demo at http://www.operamini.com/demo/ to see what i mean

anyone know a solution to this??

any help would be greatly appreciated as i need to get my chained select working on these mobile browsers

Cheers

Justin</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#158</link>
      <pubDate>2008-09-13 03:42:08</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#158</guid>
    </item>
    <item>
      <title>rocbar</title>
      <description>Very good script, but the article could be a little more in detail explaining the variable $has_childs = false; in relationship to the $menu_array or the if ($value['parent'] == $parent).  This would be helpfull for a newbee like me. </description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#157</link>
      <pubDate>2008-08-23 23:02:45</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#157</guid>
    </item>
    <item>
      <title>A</title>
      <description>Think most people are missing the point of this.

Thanks for the article / code - it's a nice way of letting users know their passwords are potentially unsafe.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#156</link>
      <pubDate>2008-08-23 04:48:21</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#156</guid>
    </item>
    <item>
      <title>Gerry</title>
      <description>function called(){
  echo 'function called<br/>';
  return 10;
}

// Under the "Optimize your code" section, you may want to fix
// that as it's still running the function every time.
// You may need to update your coding guidelines too... dunno. =P

for($i = 0; $i < $count = called(); $i++){}

/**
 * Output:
 *
 * function called
 * function called
 * function called
 * function called
 * function called
 * function called
 * function called
 * function called
 * function called
 * function called
 * function called
 */


// Perhaps the way you meant to write it:
for($i = 0, $count = called(); $i < $count; $i++){}

/**
 * Output:
 *
 * function called
 */</description>
      <link>http://codeassembly.com/Why-are-php-coding-guidelines-important/#155</link>
      <pubDate>2008-08-22 05:34:12</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-are-php-coding-guidelines-important/#155</guid>
    </item>
    <item>
      <title>camc</title>
      <description>How do security sql injection?</description>
      <link>http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#154</link>
      <pubDate>2008-08-21 22:31:57</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#154</guid>
    </item>
    <item>
      <title>Terry</title>
      <description>Hi, I have downloaded the menu version and am wondering how to implement an image arrow bullet for the parent categories to show there are children  while recursive function sorts down the levels. Can't seem to make it work any thoughts??
thanks Terry</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#153</link>
      <pubDate>2008-08-21 16:33:14</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#153</guid>
    </item>
    <item>
      <title>Bao Nhan</title>
      <description>I love it :)</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#152</link>
      <pubDate>2008-08-16 14:29:29</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#152</guid>
    </item>
    <item>
      <title>mook</title>
      <description>I was able to get rid of the gap in IE6 by adding a disply:block to each image... transparency will probably never work in IE. 

Next time mr. script maker, make sure it works in more than one browser...</description>
      <link>http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#151</link>
      <pubDate>2008-08-13 08:30:38</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#151</guid>
    </item>
    <item>
      <title>söve</title>
      <description>Thank you for sharing...</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#150</link>
      <pubDate>2008-08-07 06:09:04</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#150</guid>
    </item>
    <item>
      <title>Bob</title>
      <description>Running into another issue. I'm using this to pull states or provinces based on whether US or Canada is selected from the first dropdown. No problem, works as advertised. However, if the user submits the form and there are errors, when the page reloads, the states dropdown is not repopulated with the state they selected (assuming they selected one).

How do I get that working? I'm using CodeIgniter, fwiw, so I'm using their validation lib to display form errors.

Cheers,
Bob</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#149</link>
      <pubDate>2008-08-03 16:17:08</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#149</guid>
    </item>
    <item>
      <title>Waqar Hussain</title>
      <description>Hi all 
@ hari : I am totally agree with you, i dont know whats wrong with the other guys, some how they mentioned some of thier logic unclear, If you know smarty its like you can use smarty, what smarty is ? actully nothing else but php, but its usage give lots of advantages like MVC based approach, real time caching, easy to reuse, easy to debug and much more..., anyway I will never avoid Smarty in my professional career.

wish you good luck.</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#148</link>
      <pubDate>2008-08-01 23:14:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#148</guid>
    </item>
    <item>
      <title>Codeassembly</title>
      <description>Ahmad, try to install also mplayer package, kmplayer is only a frontend for mplayer, if that fails you can install vlc. Vlc is also able to play almost any format(www.videolan.org).</description>
      <link>http://codeassembly.com/How-to-solve-common-problems-in-fedora-8/#147</link>
      <pubDate>2008-08-01 10:34:17</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-solve-common-problems-in-fedora-8/#147</guid>
    </item>
    <item>
      <title>Codeassembly</title>
      <description>Try this.

jQuery(function($)
{
  $('#first_select_with_default_value').change();
});</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#146</link>
      <pubDate>2008-08-01 10:29:19</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#146</guid>
    </item>
    <item>
      <title>ahmad faheem</title>
      <description>I have installed kmplayer-0.10.0c-2.fc8.i386.rpmin in fedora 8 but still it is unable to play any format(avi mpg etc).please give me a solution.</description>
      <link>http://codeassembly.com/How-to-solve-common-problems-in-fedora-8/#145</link>
      <pubDate>2008-08-01 09:02:33</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-solve-common-problems-in-fedora-8/#145</guid>
    </item>
    <item>
      <title>Neil Burton</title>
      <description>Great script!

I'm trying to set a default value so the second selection box appears at load rather than requiring user input, but it does not appear to work or I'm doing something wrong!

	$('#skillid').chainSelect('#subskillid','ajax.url',
	{ 
		before:function (target) //before request hide the target combobox and display the loading message
		{ 
			$("#loading").css("display","block");
			$(target).css("display","none");
		},
		after:function (target) //after request show the target combobox and hide the loading message
		{ 
			$("#loading").css("display","none");
			$(target).css("display","inline");
		},
		defaultValue:14
	});	


My HTML snippet is as follows
<select id="skillid"" name="skillid">
<option value="13">Skill A</option>
<option value="14">Skill B</option>
</select>
<select id="subskillid"" name="subskillid">
</select>

Any help would be appreciated!</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#144</link>
      <pubDate>2008-08-01 09:33:09</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#144</guid>
    </item>
    <item>
      <title>bogdan</title>
      <description>Hi. It's a great nifty little script that I've implemented in a website, but one bug I can't find a way around concerns its behaviour in Internet Explorer. In both IE7 and 6 the text div loses its transparency, while in IE6 there's a gap between the banner pictures and the link bar. Any way how that could be fixed? </description>
      <link>http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#143</link>
      <pubDate>2008-07-26 10:10:39</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-product-slideshow-for-your-website's-homepage-using-javascript/#143</guid>
    </item>
    <item>
      <title>Mike</title>
      <description>Amen Drew! You and unit.zero sound like you're the only ones who know what you're talking about.

Anyone can learn how to make a website in PHP, but that doesn't make that person a programmer, and definitely not an expert on code design principles! Even after getting a 4 year college degree in CS and having experience programming in PHP/MySQL, Java/JSP/Servlets, C#/.NET/MSSQL and even some C++, I feel like I'm just scratching the surface.

So save your comments for impressing people that know nothing about programming so when people want to read intelligent discussion on various topics, we don't have to wade through your crap!

Thanks so much!</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#142</link>
      <pubDate>2008-07-21 14:51:57</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#142</guid>
    </item>
    <item>
      <title>Darth Savage</title>
      <description>Thanks for putting this page together...saved me some time in compiling 64-bit Apache 2.2.x.  Wanted to pass on one note of interest:

Setting --libdir=/usr/lib64 and compiling as a non-root user may cause problems during make install, as the install portion of the build will want to place some apr-related libraries in the directory that you set as libdir.  So, if you are running an OS that already has files present that are related to apr via an already installed package, the make install will fail.

In my case, I set --libdir=$APACHE_HOME/lib64 and the make install completed without a hitch.  The apr-related libraries are placed in $APACHE_HOME/lib64 and the make install process also updates the envvars file to include a LD_LIBRARY_PATH declaration which includes the --libdir specified during configure, so the proper apr-related libraries will be used during runtime.

Thanks again!</description>
      <link>http://codeassembly.com/Upgrade-to-apache-2.2.6-without-downtime/#140</link>
      <pubDate>2008-07-14 11:18:58</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Upgrade-to-apache-2.2.6-without-downtime/#140</guid>
    </item>
    <item>
      <title>B.M.Mahbubul Alam</title>
      <description>thanks,now I can play flash movie.</description>
      <link>http://codeassembly.com/How-to-solve-common-problems-in-fedora-8/#139</link>
      <pubDate>2008-07-12 21:25:24</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-solve-common-problems-in-fedora-8/#139</guid>
    </item>
    <item>
      <title>Paresh</title>
      <description>Hi, Good Worked. I can\'t able to list the display in ul li order. with the help of your code, i can. 


Thanks</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#138</link>
      <pubDate>2008-07-06 03:46:39</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#138</guid>
    </item>
    <item>
      <title>Benjamin Kuz</title>
      <description>This is a pretty nice piece of work - with only a few beefs.

1) You should include the option to use spaces instead of tabs - some places require that kind of thing since editors sometimes do funky things, like include half-tabs or other strange quirks which make the code come out of alignment.  I hacked this in manually in order to make it work.

2) the first line of a comment sometimes \"stacks\" with the line above it, giving the effect of:

some_code();
# my comment

becoming:

some_code();# my comment</description>
      <link>http://codeassembly.com/A-php-code-beautifier-that-works/#137</link>
      <pubDate>2008-07-04 16:51:26</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-php-code-beautifier-that-works/#137</guid>
    </item>
    <item>
      <title>Matt Browne</title>
      <description>Discovered a possible error: I think that before setting $ADODB_FETCH_MODE in the constructor, you should import the global variable, i.e.:

global $ADODB_FETCH_MODE;
$ADODB_FETCH_MODE = ADODB_FETCH_ASSOC;

Otherwise, it doesn't seem to be truly using ADODB_FETCH_ASSOC, but rather ADODB_FETCH_BOTH.

Thanks again for the class.</description>
      <link>http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#136</link>
      <pubDate>2008-06-26 10:37:58</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#136</guid>
    </item>
    <item>
      <title>Ashish</title>
      <description>This is such a wonderful script....It really helps me to show the category tree like site map.
Thanx a lot</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#135</link>
      <pubDate>2008-06-26 08:51:54</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#135</guid>
    </item>
    <item>
      <title>egemen</title>
      <description>thanks antonio..</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#134</link>
      <pubDate>2008-06-24 17:38:07</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#134</guid>
    </item>
    <item>
      <title>Wesley</title>
      <description>I am using the following library's

		<script type="text/javascript" src="/js/jquery.js"></script>
		<script type="text/javascript" src="/js/jquery.metadata.js"></script>
		<script type="text/javascript" src="/js/jquery.validate.js"></script>		
		<script type="text/javascript" src="/js/jquery.chainSelects.js"></script>		


The chainselects works fine on a page by itself, but when I combine with jquery and validate functionality it blows up &function undefined.

</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#133</link>
      <pubDate>2008-06-23 23:38:04</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#133</guid>
    </item>
    <item>
      <title>Drew</title>
      <description>Yes -- obviously to those who say 'seperating the php & html is not needed', obviously you need to go back to design school, because I would never let you come close to touching one of my projects. (not even smell it).

Smarty is absolutely fantastic at splitting html from php. Sure, smarty has its own language but seriously... if you have troubles understanding smarty syntax, you should not be doing php either, because obviously you are an amateur at php (of the millions running around claiming to be 'good programmers'). 

Sure, the templates contain a bit of logic (loops, if statements and the like), however this should be kept straight to the idea of only being based off of display.

Smarty has proven to be extremly useful to me over the years as business logic and presentation logic are truly separated. I don't care about the compiled templates and they are 'php again', because those are not what I edit. 

so funny.... to many amateur programmers running around... Its the one disadvantage to PHP. PHP is easy to become a novice in, however it takes a lot of time to be an expert in. PHP lets its programmers get away with too much... I mean honestly... not even initializing variables before use. That is basic programming stuff! If you don't do that at the minimum... well... its time to start leaving the amateur zone of PHP and brush up your skills!</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#132</link>
      <pubDate>2008-06-22 21:25:22</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#132</guid>
    </item>
    <item>
      <title>Antonio</title>
      <description>So.. if you want to get it working on FF,IE6 and IE7

jquery.chainedSelects.js >> Line 36:
36: parameters : { '_id' : $(this).attr('id'), '_name' : $(this).attr('name') },
37: } , settings);
Remove comma at the end:

IN THE END IT WILL LOOK LIKE:
parameters : { '_id' : $(this).attr('id'), '_name' : $(this).attr('name') }
37: } , settings);


AND CHANGE line 53 TO:

$(target).get(0).add(new Option(data[i][key],[key]), document.all ? i : null);

it works :)

</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#131</link>
      <pubDate>2008-06-17 06:24:15</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#131</guid>
    </item>
    <item>
      <title>AvaiveArrashy</title>
      <description>Hello 
<a href=http://yguufy.1afm.com//porno_foto_silvii_saint.html>ïîðíî ôîòî ñèëüâèè ñàèíò</a>
<a href=http://bnoibm.freeweb-hosting.org//porno_roliki_s_babkami.html>ïîðíî ðîëèêè ñ áàáêàìè</a>
<a href=http://iwothm.exactpages.com//vide_porno_skachat_besplatno.html>âèäå ïîðíî ñêà÷àòü áåñïëàòíî</a>
<a href=http://xolljz.freehostyou.com//porno_ot_12_do_15.html>ïîðíî îò 12 äî 15</a>
<a href=http://mfbhpi.just-allen.com//porno_rolik_skachat_besplatno_film.html>ïîðíî ðîëèê ñêà÷àòü áåñïëàòíî ôèëüì</a>
<a href=http://freebooksxswq.1gb.in/smotret_pornovideo_bez_registracii_besplatno.html>ñìîòðåòü ïîðíîâèäåî áåç ðåãèñòðàöèè áåñïëàòíî</a>
<a href=http://wvedmyhq.yoyohost.com/skachat_nebolshoe_porno.html>ñêà÷àòü íåáîëüøîå ïîðíî</a>
<a href=http://yguufy.1afm.com//porno_foto_polnyh_tolstyh_jenscin.html>ïîðíî ôîòî ïîëíûõ òîëñòûõ æåíùèí</a>
<a href=http://oghahxvv.gigazu.net/incest_porno_iznasilovanie_kartinki.html>èíöåñò ïîðíî èçíàñèëîâàíèå êàðòèíêè</a>
<a href=http://freebooksxswq.k2free.com/alisa_milano_skachat_porno.html>àëèñà ìèëàíî ñêà÷àòü ïîðíî</a>
<a href=http://vpssyc.freespaceusa.com//porno_foto_shoubiznesa.html>ïîðíî ôîòî øîóáèçíåñà</a>
<a href=http://xujohz.freeweb-hosting.org//porno_jurnal_skuns.html>ïîðíî æóðíàë ñêóíñ</a>
<a href=http://iwothm.exactpages.com//video_veb_kamera_porno.html>âèäåî âåá êàìåðà ïîðíî</a>
<a href=http://freebooksxswq.runhost.net/celki_foto_porno.html>öåëêè ôîòî ïîðíî</a>
<a href=http://srzbwzvb.977mb.com/pornofilm_s_jivotnymi_besplatno.html>ïîðíîôèëüì ñ æèâîòíûìè áåñïëàòíî</a>
<a href=http://iwothm.exactpages.com//rossiiskie_zvezdy_porno.html>ðîññèéñêèå çâåçäû ïîðíî</a>
<a href=http://freebooksxswq.freehostingz.com/skachat_luchshee_porno_filmy.html>ñêà÷àòü ëó÷øåå ïîðíî ôèëüìû</a>
<a href=http://freebooksxswq.2222mb.com/skachat_besplatnoe_porno_devochki.html>ñêà÷àòü áåñïëàòíîå ïîðíî äåâî÷êè</a>
<a href=http://freebooksxswq.iws-host.com/foto_porno_negry_ebut_belyh_ponyatno.html>ôîòî ïîðíî íåãðû åáóò áåëûõ ïîíÿòíî</a>
<a href=http://freebooksxswq.10gbfreehost.com/besplatnoe_porno_foto_volosatye_piski.html>áåñïëàòíîå ïîðíî ôîòî âîëîñàòûå ïèñüêè</a>
<a href=http://zjbanv.s-enterprize.com//porno_germafroditov_zoofil_skachat.html>ïîðíî ãåðìàôðîäèòîâ çîîôèë ñêà÷àòü</a>
<a href=http://zjehfl.mindnmagick.com//porno_foto_detei_do_16.html>ïîðíî ôîòî äåòåé äî 16</a>
<a href=http://gvvltyfu.2222mb.com/realnoe_russkoe_domashnee_porno.html>ðåàëüíîå ðóññêîå äîìàøíåå ïîðíî</a>
<a href=http://ojevuyaq.blackapplehost.com/risovannoe_porno_s_konem.html>ðèñîâàííîå ïîðíî ñ êîíåì</a>
<a href=http://zacherypjk.jamminweb.com//porno_gospoja_rab.html>ïîðíî ãîñïîæà ðàá</a>
<a href=http://wtezrzmc.rihost.us/krasivye_devki_porno.html>êðàñèâûå äåâêè ïîðíî</a>
<a href=http://nsvzep.envy.nu//porno_video_nevest.html>ïîðíî âèäåî íåâåñò</a>
<a href=http://vkalkoke.gigazu.net/malchik_12_let_porno.html>ìàëü÷èê 12 ëåò ïîðíî</a>
<a href=http://freebooksxswq.blackapplehost.com/jensciny_lesbiyanki_foto.html>æåíùèíû ëåñáèÿíêè ôîòî</a>
<a href=http://freebooksxswq.1gb.in/smotret_pryamo_seichas_porno_rolik.html>ñìîòðåòü ïðÿìî ñåé÷àñ ïîðíî ðîëèê</a>
<a href=http://xujohz.freeweb-hosting.org//porno_zakachka.html>ïîðíî çàêà÷êà</a>
<a href=http://dreetggm.gigazu.com/skachat_porno_masturbaciya.html>ñêà÷àòü ïîðíî ìàñòóðáàöèÿ</a>
<a href=http://yguufy.1afm.com//porno_foto_polnyh_negrityanok.html>ïîðíî ôîòî ïîëíûõ íåãðèòÿíîê</a>
<a href=http://obkiuh.1afm.com//porno_incest_papa.html>ïîðíî èíöåñò ïàïà</a>
<a href=http://walije.web-home.ws//porno_samye_bolshie_dyry_v_jope.html>ïîðíî ñàìûå áîëüøèå äûðû â æîïå</a>
<a href=http://mhpoer.stinkdot.org//porno_besplatno_aziatki_vidio.html>ïîðíî áåñïëàòíî àçèàòêè âèäèî</a>
<a href=http://gpnaubkc.iws-host.com/samaya_vysokaya_porno_zvezda.html>ñàìàÿ âûñîêàÿ ïîðíî çâåçäà</a>
<a href=http://kzusiamg.gigazu.net/porno_papa.html>ïîðíî ïàïà</a>
<a href=http://jccmps.web-home.ws//porno_biznes_ledi_bolshaya_grud_i_popa.html>ïîðíî áèçíåñ ëåäè áîëüøàÿ ãðóäü è ïîïà</a>
<a href=http://gfvqwl.1accesshost.com//gei_porno_raskazy.html>ãåé ïîðíî ðàñêàçû</a>
<a href=http://kzqclo.408ez.com//porno_so_strijenovoi.html>ïîðíî ñî ñòðèæåíîâîé</a>
<a href=http://mfbhpi.just-allen.com//porno_rasskazy_foto_video_roliki.html>ïîðíî ðàññêàçû ôîòî âèäåî ðîëèêè</a>
<a href=http://xftenywa.my5gb.com/porno_risunki_komiksy.html>ïîðíî ðèñóíêè êîìèêñû</a>
<a href=http://freebooksxswq.freewebhosting360.com/bolshie_klipy_porno_skachat.html>áîëüøèå êëèïû ïîðíî ñêà÷àòü</a>
<a href=http://freebooksxswq.gigazu.net/super_detskoe_porno_video.html>ñóïåð äåòñêîå ïîðíî âèäåî</a>
<a href=http://mhpoer.stinkdot.org//porno_besplatnoe_na_dvd.html>ïîðíî áåñïëàòíîå íà dvd</a>
<a href=http://tytkrace.gigazu.net/porno_akademiya_eleny_berko.html>ïîðíî àêàäåìèÿ åëåíû áåðêî</a>
<a href=http://xolljz.freehostyou.com//porno_orgii_zrelyh.html>ïîðíî îðãèè çðåëûõ</a>
<a href=http://wvedmyhq.yoyohost.com/seks_zrelyh_tetok.html>ñåêñ çðåëûõ òåòîê</a>
<a href=http://zacherypjk.jamminweb.com//porno_devstvenicy.html>ïîðíî äåâñòâåíèöû</a>
<a href=http://freebooksxswq.my3gb.com/skachat_porno_video_uchilki_sekretarshi.html>ñêà÷àòü ïîðíî âèäåî ó÷èëêè ñåêðåòàðøè</a>
<a href=http://srzbwzvb.977mb.com/porno_fotografii_anjelina_djoli.html>ïîðíî ôîòîãðàôèè àíæåëèíà äæîëè</a>
<a href=http://michaelylw.createdollz.com//ochen_hudye_porno_modeli.html>î÷åíü õóäûå ïîðíî ìîäåëè</a>
<a href=http://freebooksxswq.k2free.com/transvestit_porno_foto.html>òðàíñâåñòèò ïîðíî ôîòî</a>
<a href=http://freebooksxswq.justfree.com/besplatnoe_domashnee_porno_lesbiyanok.html>áåñïëàòíîå äîìàøíåå ïîðíî ëåñáèÿíîê</a>
<a href=http://michaelylw.createdollz.com//detskoe_porno_video_roliki_besplatno.html>äåòñêîå ïîðíî âèäåî ðîëèêè áåñïëàòíî</a>
<a href=http://iwothm.exactpages.com//russke_porno_dinara.html>ðóññêå ïîðíî äèíàðà</a>
<a href=http://bjornutf.dreamstation.com//pornograficheskie_videofilmy_besplatnye.html>ïîðíîãðàôè÷åñêèå âèäåîôèëüìû áåñïëàòíûå</a>
<a href=http://pdpbij.lookseekpages.com//podglyadyvaniya_porno_foto.html>ïîäãëÿäûâàíèÿ ïîðíî ôîòî</a>
<a href=http://terencegae.maddsites.com//porno_uchitelnicy_burning_book.html>ïîðíî ó÷èòåëüíèöû burning book</a>
<a href=http://wtezrzmc.rihost.us/ijevsk_porno.html>èæåâñê ïîðíî</a>
<a href=http://nqvsmwah.hothostcity.com/porno_lohmataya.html>ïîðíî ëîõìàòàÿ</a>
<a href=http://natheneon.freewebpages.org//seks_detskaya_porno_rasskazy.html>ñåêñ äåòñêàÿ ïîðíî ðàññêàçû</a>
<a href=http://freebooksxswq.my3gb.com/skachat_porno_roliki_v.html>ñêà÷àòü ïîðíî ðîëèêè â</a>
<a href=http://ojevuyaq.blackapplehost.com/tijelyi_porno_azii.html>òèæåëûé ïîðíî àçèè</a>
<a href=http://rtsbvp.freehostyou.com//devstvennoe_porno.html>äåâñòâåííîå ïîðíî</a>
<a href=http://kzqclo.408ez.com//porno_seks_roliki_posmotret.html>ïîðíî ñåêñ ðîëèêè ïîñìîòðåòü</a>
<a href=http://tytkrace.gigazu.net/porno_babki_s_vnukami.html>ïîðíî áàáêè ñ âíóêàìè</a>
<a href=http://robbyqfc.e-host.ws//porno_foto_incesta_posmotret.html>ïîðíî ôîòî èíöåñòà ïîñìîòðåòü</a>
<a href=http://kzusiamg.gigazu.net/jest_porno.html>æåñò ïîðíî</a>
<a href=http://srzbwzvb.977mb.com/pornofotovideo_rolikispyascie.html>ïîðíîôîòî-âèäåî ðîëèêè-ñïÿùèå</a>
<a href=http://lgcmum.createdollz.com//porno_foto_12_16.html>ïîðíî ôîòî 12 16</a>
<a href=http://taylorfhg.freeweb-hosting.org//programma_zakachka_porno.html>ïðîãðàììà çàêà÷êà ïîðíî</a>
<a href=http://tarahcin.freewebsitehosting.com//porno_pro_klizmy.html>ïîðíî ïðî êëèçìû</a>
<a href=http://freebooksxswq.rihost.us/besplatno_skachat_vidio_porno.html>áåñïëàòíî ñêà÷àòü âèäèî ïîðíî</a>
<a href=http://gideonhmg.yourprivatespace.com//porno_x_video.html>ïîðíî x video</a>
<a href=http://okiehbpq.19gigs.com/skachat_besplatno_anime_porno_malnkie_po_razmeru.html>ñêà÷àòü áåñïëàòíî àíèìå ïîðíî ìàëüíüêèå ïî ðàçìåðó</a>
<a href=http://zjbanv.s-enterprize.com//porno_galerei_zrelyh_mujchin.html>ïîðíî ãàëåðåè çðåëûõ ìóæ÷èí</a>
<a href=http://niarvdnb.1gb.in/porno_i_seks_zrelyh_jenscin_s_volosatymi_piskami.html>ïîðíî è ñåêñ çðåëûõ æåíùèí ñ âîëîñàòûìè ïèñüêàìè</a>
<a href=http://freebooksxswq.gigazu.com/skachat_shkolnoe_porno_kartinki_besplatno.html>ñêà÷àòü øêîëüíîå ïîðíî êàðòèíêè áåñïëàòíî</a>
<a href=http://xftenywa.my5gb.com/porno_razorvannye_vlagalisca.html>ïîðíî ðàçîðâàííûå âëàãàëèùà</a>
<a href=http://bdnsnegq.iws-host.com/porno_foto_70h_godov.html>ïîðíî ôîòî 70-õ ãîäîâ</a>
<a href=http://rzreaslk.hothostcity.com/kleopatra_skachat_porno.html>êëåîïàòðà ñêà÷àòü ïîðíî</a>
<a href=http://ipuvml.ez-sites.ws//pornofoto_futfetisha.html>ïîðíîôîòî ôóòôåòèøà</a>
<a href=http://cldbog.freewebportal.com//porno_foto_neopytnyh_tineidjerov.html>ïîðíî ôîòî íåîïûòíûõ òèíåéäæåðîâ</a>
<a href=http://darafyz.freespaceusa.com//sait_vescaet_porno.html>ñàéò âåùàåò ïîðíî</a>
<a href=http://kzusiamg.gigazu.net/luchshee_porno_rossii.html>ëó÷øåå ïîðíî ðîññèè</a>
<a href=http://ibqrdb.ez-sites.ws//porno_flesh_multiki.html>ïîðíî ôëýø ìóëüòèêè</a>
<a href=http://freebooksxswq.d0m.us/besplatnye_3gp_porno_roliki_skachat.html>áåñïëàòíûå 3gp ïîðíî ðîëèêè ñêà÷àòü</a>
<a href=http://wvedmyhq.yoyohost.com/nesovershennoletnee_erotika.html>íåñîâåðøåííîëåòíåå ýðîòèêà</a>
<a href=http://freebooksxswq.freewebhosting360.com/skachat_besplatno_porno_video_s_anfisoi_chehovoi.html>ñêà÷àòü áåñïëàòíî ïîðíî âèäåî ñ àíôèñîé ÷åõîâîé</a>
<a href=http://freebooksxswq.freewebspace-us.com/videoroliki_lesbiyanki.html>âèäåîðîëèêè ëåñáèÿíêè</a>
<a href=http://srzbwzvb.977mb.com/pornorasskazy_unijenie_jeny.html>ïîðíîðàññêàçû óíèæåíèå æåíû</a>
<a href=http://wvedmyhq.yoyohost.com/porno_anime_hentai_galerei.html>ïîðíî àíèìå õåíòàé ãàëåðåè</a>
<a href=http://gvvltyfu.2222mb.com/porno_foto_prostitutok_tollstye_i_ruskie_ot_30_do_60.html>ïîðíî ôîòî ïðîñòèòóòîê òîëëñòûå è ðóñêèå îò 30 äî 60</a>
<a href=http://kzqclo.408ez.com//porno_seks_foto_studentok.html>ïîðíî ñåêñ ôîòî ñòóäåíòîê</a>
<a href=http://flvxsoup.blackapplehost.com/prosmotr_tureckogo_porno.html>ïðîñìîòð òóðåöêîãî ïîðíî</a>
<a href=http://freebooksxswq.1gb.in/sosat_grudi_porno.html>ñîñàòü ãðóäè ïîðíî</a>
<a href=http://freebooksxswq.freewebhosting360.com/skachat_besplatno_gei_porno_roliki.html>ñêà÷àòü áåñïëàòíî ãåé ïîðíî ðîëèêè</a>
<a href=http://kzusiamg.gigazu.net/porno_foto_i_orgazm_kinoaktris.html>ïîðíî ôîòî è îðãàçì êèíîàêòðèñ</a>
<a href=http://bpupgf.freeweb-hosting.org//domashnee_porno_jivotnoe.html>äîìàøíåå ïîðíî æèâîòíîå</a>
<a href=http://freebooksxswq.freehostingz.com/skachat_kachestvennye_porno_filmy.html>ñêà÷àòü êà÷åñòâåííûå ïîðíî ôèëüìû</a>
<a href=http://okiehbpq.19gigs.com/skachat_fragmenty_porno_besplatno.html>ñêà÷àòü ôðàãìåíòû ïîðíî áåñïëàòíî</a>
<a href=http://wtezrzmc.rihost.us/sekretnye_saity_s_seks_video_porno_rolikami_besplatno.html>ñåêðåòíûå ñàéòû ñ ñåêñ âèäåî ïîðíî ðîëèêàìè áåñïëàòíî</a>
<a href=http://srzbwzvb.977mb.com/pornofoto_devochek_golyh_lesbiyanok.html>ïîðíîôîòî äåâî÷åê ãîëûõ ëåñáèÿíîê</a>
<a href=http://natheneon.freewebpages.org//svyazyvanie_porno_platnye_saity.html>ñâÿçûâàíèå ïîðíî ïëàòíûå ñàéòû</a>
<a href=http://kzqclo.408ez.com//porno_skachat_pisauscie.html>ïîðíî ñêà÷àòü ïèñàþùèå</a>
<a href=http://freebooksxswq.free-site-host.com/skachat_porno_besplatno_bez_kodov.html>ñêà÷àòü ïîðíî áåñïëàòíî áåç êîäîâ</a>
<a href=http://zejiir.designcarthosting.com//porno_video_seks_posmotret.html>ïîðíî âèäåî ñåêñ ïîñìîòðåòü</a>
<a href=http://bpupgf.freeweb-hosting.org//otricatelnoe_kosinusoidalnoe_opornoe_napryajenie.html>îòðèöàòåëüíîå êîñèíóñîèäàëüíîå îïîðíîå íàïðÿæåíèå</a>
<a href=http://xftenywa.my5gb.com/porno_roliki_s_teleperedachi_dom2.html>ïîðíî ðîëèêè ñ òåëåïåðåäà÷è äîì2</a>
<a href=http://kzusiamg.gigazu.net/porno_fisting_video_prosmotr.html>ïîðíî ôèñòèíã âèäåî ïðîñìîòð</a>
<a href=http://bjornutf.dreamstation.com//pornovidio_halyava_3gp.html>ïîðíîâèäèî õàëÿâà 3gp</a>
<a href=http://mhpoer.stinkdot.org//porno_besplatno_mazohizm_izvrasceniya.html>ïîðíî áåñïëàòíî ìàçîõèçì èçâðàùåíèÿ</a>
<a href=http://cldbog.freewebportal.com//porno_foto_maloletki_razvrat.html>ïîðíî ôîòî ìàëîëåòêè ðàçâðàò</a>
<a href=http://xftenywa.my5gb.com/porno_saity_i_paroli_k_nim.html>ïîðíî ñàéòû è ïàðîëè ê íèì</a>
<a href=http://freebooksxswq.runhost.net/celki_porno_bezplatno.html>öåëêè ïîðíî áåçïëàòíî</a>
<a href=http://freebooksxswq.runhost.net/hhh_porno_maloletki_galerei.html>õõõ ïîðíî ìàëîëåòêè ãàëåðåè</a>
<a href=http://walije.web-home.ws//porno_seks_dom_2_foto.html>ïîðíî ñåêñ äîì 2 ôîòî</a>
<a href=http://freebooksxswq.freewebhosting360.com/blog_porno_foto_podglyadyvanie_re.html>áëîã ïîðíî ôîòî ïîäãëÿäûâàíèå re</a>
<a href=http://freebooksxswq.blackapplehost.com/esli_tebya_poslali_na_hui.html>åñëè òåáÿ ïîñëàëè íà õóé</a>
<a href=http://freebooksxswq.gigazu.com/beloruskoe_porno_foto.html>áåëîðóñêîå ïîðíî ôîòî</a>
<a href=http://terencegae.maddsites.com//porno_film_ru.html>ïîðíî ôèëüì ru</a>
<a href=http://cldbog.freewebportal.com//porno_foto_ogromnye_zadnicy.html>ïîðíî ôîòî îãðîìíûå çàäíèöû</a>
<a href=http://ibqrdb.ez-sites.ws//porno_flesh_igry_jestkie.html>ïîðíî ôëåø èãðû æåñòêèå</a>
<a href=http://freebooksxswq.hothostcity.com/foto_gruppy_porno_rep.html>ôîòî ãðóïïû ïîðíî ðåï</a>
<a href=http://gfvqwl.1accesshost.com//germafrodit_video_porno.html>ãåðìàôðîäèò âèäåî ïîðíî</a>
<a href=http://gvvltyfu.2222mb.com/goryachii_fotki_jetkogo_porno_geev.html>ãîðÿ÷èè ôîòêè æåòêîãî ïîðíî ãååâ</a>
<a href=http://freebooksxswq.gigazu.net/studenty_seks_porno.html>ñòóäåíòû ñåêñ ïîðíî</a>
<a href=http://theresaevy.lookseekpages.com//video_porno_sperma_izza_rta_v_rot.html>âèäåî ïîðíî ñïåðìà èç-çà ðòà â ðîò</a>
<a href=http://zacherypjk.jamminweb.com//porno_detei_foto_galerei.html>ïîðíî äåòåé ôîòî ãàëåðåè</a>
<a href=http://cldbog.freewebportal.com//porno_foto_modelei_17_let.html>ïîðíî ôîòî ìîäåëåé 17 ëåò</a>
<a href=http://nsvzep.envy.nu//porno_video_klipy_halyava.html>ïîðíî âèäåî êëèïû õàëÿâà</a>
<a href=http://freebooksxswq.freewebhosting360.com/blestyascee_porno_video.html>áëåñòÿùåå ïîðíî âèäåî</a>
<a href=http://nsvzep.envy.nu//porno_video_prosmotr_skachat.html>ïîðíî âèäåî ïðîñìîòð ñêà÷àòü</a>
<a href=http://wovcpo.o-f.com//porno_klip_shahzody_skachat.html>ïîðíî êëèï øàõçîäû ñêà÷àòü</a>
<a href=http://yueidf.freewebsitehosting.com//porno_multfilm_bez_registracii.html>ïîðíî ìóëüòôèëüì áåç ðåãèñòðàöèè</a>
<a href=http://xolljz.freehostyou.com//porno_oboi_foto_aziatok.html>ïîðíî îáîè ôîòî àçèàòîê</a>
<a href=http://lgcmum.createdollz.com//porno_foto_brat_s_sestroi.html>ïîðíî ôîòî áðàò ñ ñåñòðîé</a>
<a href=http://gvvltyfu.2222mb.com/internet_porno_tv_roliki.html>èíòåðíåò ïîðíî òâ ðîëèêè</a>
<a href=http://kzusiamg.gigazu.net/lubitelskie_porno_roliki_skrytoi_kameroi.html>ëþáèòåëüñêèå ïîðíî ðîëèêè ñêðûòîé êàìåðîé</a>
<a href=http://mhpoer.stinkdot.org//porno_besplatnoe_hhh.html>ïîðíî áåñïëàòíîå õõõ</a>
<a href=http://pdpbij.lookseekpages.com//damskoe_bele_porno.html>äàìñêîå áåëüå ïîðíî</a>
<a href=http://freebooksxswq.977mb.com/chastnoe_porno_semeinyh_par.html>÷àñòíîå ïîðíî ñåìåéíûõ ïàð</a>
<a href=http://jccmps.web-home.ws//porno_biseksualov_webchanges.html>ïîðíî áèñåêñóàëîâ webchanges</a>
<a href=http://bpupgf.freeweb-hosting.org//dom_2_semki_porno.html>äîì 2 ñúåìêè ïîðíî</a>
<a href=http://zejiir.designcarthosting.com//porno_galerei_18.html>ïîðíî ãàëåðåè 18</a>
<a href=http://freebooksxswq.gigazu.com/berkova_i_buzova_porno_foto.html>áåðêîâà è áóçîâà ïîðíî ôîòî</a>
<a href=http://srzbwzvb.977mb.com/pornofilmy_dom_3__ih_pervaya_vesna.html>ïîðíîôèëüìû "äîì 3 - èõ ïåðâàÿ âåñíà"</a>
<a href=http://subjzyqm.hothostcity.com/katorga_foto_porno.html>êàòîðãà ôîòî ïîðíî</a>
<a href=http://xftenywa.my5gb.com/porno_raznogo_vremeni.html>ïîðíî ðàçíîãî âðåìåíè</a>
<a href=http://freebooksxswq.free-site-host.com/skachat_porno_bolshie_grudi_besplatno.html>ñêà÷àòü ïîðíî áîëüøèå ãðóäè áåñïëàòíî</a>
<a href=http://xujohz.freeweb-hosting.org//porno_dostavka_kurerom.html>ïîðíî äîñòàâêà êóðüåðîì</a>
<a href=http://xftenywa.my5gb.com/porno_s_britne_spirs.html>ïîðíî ñ áðèòíå ñïèðñ</a>
<a href=http://cldbog.freewebportal.com//porno_foto_ochen_bolshoe_kolichestvo.html>ïîðíî ôîòî î÷åíü áîëüøîå êîëè÷åñòâî</a>
<a href=http://freebooksxswq.rihost.us/besplatno_porno_roliki_pamely.html>áåñïëàòíî ïîðíî ðîëèêè ïàìåëû</a>
<a href=http://kzqclo.408ez.com//porno_skrytaya_kamera.html>ïîðíî ñêðûòàÿ êàìåðà</a>
<a href=http://xolljz.freehostyou.com//porno_onalnyi_seks.html>ïîðíî îíàëüíûé ñåêñ</a>
<a href=http://flvxsoup.blackapplehost.com/rabota_v_porno_ufa.html>ðàáîòà â ïîðíî óôà</a>
<a href=http://freebooksxswq.1gb.in/bandaj_na_parne_porno.html>áàíäàæ íà ïàðíå ïîðíî</a>
<a href=http://tytkrace.gigazu.net/porno_v_shvecii.html>ïîðíî â øâåöèè</a>
<a href=http://freebooksxswq.freewebhosting360.com/skachat_besplatno_lena_berkova_porno.html>ñêà÷àòü áåñïëàòíî ëåíà áåðêîâà ïîðíî</a>
<a href=http://zacherypjk.jamminweb.com//porno_devushki_parnya.html>ïîðíî äåâóøêè ïàðíÿ</a>
<a href=http://tarahcin.freewebsitehosting.com//porno_rasskazy_brat.html>ïîðíî ðàññêàçû áðàò</a>
<a href=http://freebooksxswq.blackapplehost.com/skachat_jestkoe_porno_lesbiyanki.html>ñêà÷àòü æåñòêîå ïîðíî ëåñáèÿíêè</a>
<a href=http://srzbwzvb.977mb.com/porno_foto_solnechnogorsk.html>ïîðíî ôîòî ñîëíå÷íîãîðñê</a>
<a href=http://zacherypjk.jamminweb.com//porno_dvuh_blondinok.html>ïîðíî äâóõ áëîíäèíîê</a>
<a href=http://taylorfhg.freeweb-hosting.org//gei_porno_video_sms.html>ãåé ïîðíî âèäåî ñìñ</a>
<a href=http://gpnaubkc.iws-host.com/samye_razvratnye_porno_saity.html>ñàìûå ðàçâðàòíûå ïîðíî ñàéòû</a>
<a href=http://kzusiamg.gigazu.net/porno_tolstyh_lesbiyanok.html>ïîðíî òîëñòûõ ëåñáèÿíîê</a>
<a href=http://wtezrzmc.rihost.us/halyavnye_porno_saity.html>õàëÿâíûå ïîðíî ñàéòû</a>
<a href=http://bpupgf.freeweb-hosting.org//otryvki_iz_porno.html>îòðûâêè èç ïîðíî</a>
<a href=http://dehgfr.digitalzones.com//porno_lizat_pyatki.html>ïîðíî ëèçàòü ïÿòêè</a>
<a href=http://gpnaubkc.iws-host.com/zaprescennyi_porno_razzvraat.html>çàïðåùåííûé ïîðíî ðàççâðààò</a>
<a href=http://theresaevy.lookseekpages.com//raschet_rupornoi_anteny.html>ðàñ÷åò ðóïîðíîé àíòåíû</a>
<a href=http://zjbanv.s-enterprize.com//porno_galerei_lezbi_gei.html>ïîðíî ãàëåðåè ëåçáè ãåé</a>
<a href=http://freebooksxswq.rihost.us/besplatno_porno_foto_seks_shkolnic.html>áåñïëàòíî ïîðíî ôîòî ñåêñ øêîëüíèö</a>
<a href=http://oghahxvv.gigazu.net/kucha_porno_kartinok.html>êó÷à ïîðíî êàðòèíîê</a>
<a href=http://freebooksxswq.my5gb.com/web_kamera_porno_besplatno_smotret.html>web êàìåðà ïîðíî áåñïëàòíî ñìîòðåòü</a>
<a href=http://freebooksxswq.blackapplehost.com/obajau_sosat_hui_pit_spermu.html>îáàæàþ ñîñàòü õóé ïèòü ñïåðìó</a>
<a href=http://okiehbpq.19gigs.com/skachatporno_roliki_klipy_besplatno.html>ñêà÷àòüïîðíî ðîëèêè êëèïû áåñïëàòíî</a>
<a href=http://freebooksxswq.gigazu.com/bezplatnye_porno_fotografii_zrelyh_jenscin.html>áåçïëàòíûå ïîðíî ôîòîãðàôèè çðåëûõ æåíùèí</a>
<a href=http://yguufy.1afm.com//porno_foto_puhlyh_devochek.html>ïîðíî ôîòî ïóõëûõ äåâî÷åê</a>
<a href=http://freebooksxswq.gigazu.com/be_porno.html>áå ïîðíî</a>
<a href=http://freebooksxswq.d0m.us/skachat_porno_simpsony.html>ñêà÷àòü ïîðíî ñèìïñîíû</a>
<a href=http://ibqrdb.ez-sites.ws//porno_filmy_70_godov_fotografii.html>ïîðíî ôèëüìû 70 ãîäîâ ôîòîãðàôèè</a>
<a href=http://yguufy.1afm.com//porno_foto_seks_nevesty.html>ïîðíî ôîòî ñåêñ íåâåñòû</a>
<a href=http://zjbanv.s-enterprize.com//porno_galereya_konchat.html>ïîðíî ãàëåðåÿ êîí÷àòü</a>
<a href=http://xujohz.freeweb-hosting.org//porno_ekaterinburg_seks_znakomstva.html>ïîðíî åêàòåðèíáóðã ñåêñ çíàêîìñòâà</a>
<a href=http://iwothm.exactpages.com//video_porno_bolshaya_grud.html>âèäåî ïîðíî áîëüøàÿ ãðóäü</a>
<a href=http://taylorfhg.freeweb-hosting.org//prodam_detskoe_porno_s_katalogom.html>ïðîäàì äåòñêîå ïîðíî ñ êàòàëîãîì</a>
<a href=http://darafyz.freespaceusa.com//sait_posvyascen_porno_hentau.html>ñàéò ïîñâÿùåí ïîðíî õåíòàþ</a>
<a href=http://iwothm.exactpages.com//russkaya_porno_gallereya.html>ðóññêàÿ ïîðíî ãàëëåðåÿ</a>
<a href=http://darafyz.freespaceusa.com//russkoe_porno_erotika_video_besplatno.html>ðóññêîå ïîðíî ýðîòèêà âèäåî áåñïëàòíî</a>
<a href=http://jccmps.web-home.ws//porno_video_com_besplatno.html>ïîðíî âèäåî com áåñïëàòíî</a>
<a href=http://gideonhmg.yourprivatespace.com//porno_30_35_puhlenkie.html>ïîðíî 30 -35 ïóõëåíüêèå</a>
<a href=http://ipuvml.ez-sites.ws//posmotret_porno_video_minetov.html>ïîñìîòðåòü ïîðíî âèäåî ìèíüåòîâ</a>
<a href=http://freebooksxswq.justfree.com/besplatno_skachat_porno_video_detei.html>áåñïëàòíî ñêà÷àòü ïîðíî âèäåî äåòåé</a>
<a href=http://freebooksxswq.d0m.us/skachat_pornoklipy.html>ñêà÷àòü ïîðíîêëèïû</a>
<a href=http://bjornutf.dreamstation.com//pornorasskazy_s_sintimnymi_kartinkami.html>ïîðíîðàññêàçû ñ ñèíòèìíûìè êàðòèíêàìè</a>
 
G'night</description>
      <link>http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#130</link>
      <pubDate>2008-06-15 20:18:37</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#130</guid>
    </item>
    <item>
      <title>titel</title>
      <description>Hi,

I was reading your article today and this is exactly what I need for the project I'm working on.

One think though, is there any way that the script is aware of the hierarchy when it displaying the URL as well?

I'll jut give you an example. Say we have
Web development - /web-development
 - - Javascript - /web-development/javascript
 - - - - AJAX - /web-development/javascript/ajax

Again, very good article and thanks a lot,
titel</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#129</link>
      <pubDate>2008-06-13 15:17:10</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#129</guid>
    </item>
    <item>
      <title>Jimmy</title>
      <description>How would you load the 2 dropdown with data when page is loaded</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#128</link>
      <pubDate>2008-06-12 02:17:06</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#128</guid>
    </item>
    <item>
      <title>PK</title>
      <description>Same error as Derrick described - unexpected ';' in line 49 in jquery.chainSelect.js

Array in PHP looks like 

$array = array('1'=>'22','2'=>'222','3'=>'444','5'=>'666','7'=>'88888'); </description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#127</link>
      <pubDate>2008-06-08 12:30:51</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#127</guid>
    </item>
    <item>
      <title>Trung</title>
      <description>Thanks for this useful script.

I found there is a security hole.
The first policy password length above 6 characters must be a mandatory policy. So the script may be changed as following:

//if password bigger than 6 give 1 point
if (password.length > 6) {
    score++;
    // another policies...
    if ... score++;
    if ... score++;
    ...
}

If not changed as above script then the passwords "1","Do","!","@" are evaluated as "Weak" and "1!", "Do!" are evaluated as "Better",...
So I suggest the policy password length above 6 characters must be a mandatory policy.
Thanks & regards,
TrungTN</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#126</link>
      <pubDate>2008-06-09 03:26:29</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#126</guid>
    </item>
    <item>
      <title>Jeff</title>
      <description>After fixing the errors that m^e noted above I still couldn't get the script to work. ADODB is good but it appears there are errors still in the script.

Anyone else have luck?</description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#125</link>
      <pubDate>2008-05-29 11:43:35</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#125</guid>
    </item>
    <item>
      <title>Bob</title>
      <description>Nevermind, figured out what was going on. It was the way I was building the array.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#124</link>
      <pubDate>2008-05-28 11:07:38</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#124</guid>
    </item>
    <item>
      <title>Bob</title>
      <description>I'm reading a directory of .mp3 files to create my second select list, but when I run the script I get this:

Error: invalid label
Source File: http://[mydomain].com/jquery.chainedSelects.js
Line: 48, Column: 4
Source Code:
{"0":["No Track"],"1":{"1":"23-29 Tick Tock Blues.mp3"},"2" .....
-----^

I can't for the life of me figure out why json_encode($array) would place square brackets around the first item, and curly brackets around the rest. Thoughts?</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#123</link>
      <pubDate>2008-05-22 19:32:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#123</guid>
    </item>
    <item>
      <title>Malcolm</title>
      <description>I am still amazed that programmers construct interactions with databases using SQL/Mysql/Oracle/postgresql etc.

Do not do it. Your job is to control/direct the user experience. Use DB2/400 and stop messing about.



</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#122</link>
      <pubDate>2008-05-22 13:03:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#122</guid>
    </item>
    <item>
      <title>Kobra</title>
      <description>If SQL Injection works on a website in this day and age, it DESERVES to get hacked. Seriously.</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#121</link>
      <pubDate>2008-05-22 14:36:20</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#121</guid>
    </item>
    <item>
      <title>Jasper</title>
      <description>You could just use PDO, which automatically escapes the data you pass to it.</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#120</link>
      <pubDate>2008-05-22 05:24:11</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#120</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>Is safer to put the default value instead of user input because PHP has some problems with UTF8 and the string comparison can be true but the string can be slightly different.</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#119</link>
      <pubDate>2008-05-22 02:19:56</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#119</guid>
    </item>
    <item>
      <title>Jansen Price</title>
      <description>Wouldn't it be easier to do that last bit of code's switch statement thusly:

switch ($_GET['bookCategory'])
{
  case 'sf_books':
  case 'literature_books':
    $table = $_GET['bookCategory'];
    break; 
  default:
    $table = 'cooking_books';
}
</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#118</link>
      <pubDate>2008-05-21 22:43:29</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#118</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>Jakub Kulhan, this is just an example to show that query generation using user input is dangerous. 
It's not trying to be an example on how to design your database. 

@Konr Ness and @slink thanks for the tip, I forgot to put that break.
@Wabbitseason, you can write your code any way you want, the important thing is not to slip any user input in the query.</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#117</link>
      <pubDate>2008-05-21 12:22:45</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#117</guid>
    </item>
    <item>
      <title>Jakub Kulhan</title>
      <description>The last example (using user input as table name) is non-sens. With good database design you'll never get to this situation. For example suppose that we have these tables: books (id, name, type_id) and types (id, name). And here you can use bindable value, again, to choose type of book:

SELECT * FROM books LEFT JOIN types ON books.type_id = types.id WHERE type.name = ?

I think that it's more secure and for unknown type it won't return anything, which is more expectable.</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#116</link>
      <pubDate>2008-05-20 12:02:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#116</guid>
    </item>
    <item>
      <title>Wabbitseason</title>
      <description>or ...

switch ($_GET['bookCategory'])
{
  case 'sf_books':
  case 'literature_books':
    $table = $_GET['bookCategory'];
    break;
  default:
    $table = 'cooking_books';
}
$query = "SELECT * FROM $table";

or rather:

$allowed = array('cooking_books', 'sf_books', 'literature_books');
if (@in_array($_GET['bookCategory'], $allowed)) {
  $table = $_GET['bookCategory'];
} else {
  $table = current($allowed);
}
$query = "SELECT * FROM $table";</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#115</link>
      <pubDate>2008-05-21 06:35:16</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#115</guid>
    </item>
    <item>
      <title>slink</title>
      <description>Probably you missed a "break" in case 'literature_books'.
</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#114</link>
      <pubDate>2008-05-21 05:45:39</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#114</guid>
    </item>
    <item>
      <title>Konr Ness</title>
      <description>That last bit of code with the switch statement has bug. You missed the break; statement after the 'literature_books' case. Without it, $table will be 'cooking_books' even if 'literature_books' was specified.</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#113</link>
      <pubDate>2008-05-21 10:59:07</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#113</guid>
    </item>
    <item>
      <title>Solomon</title>
      <description>Hi

I have a JSP page which has 6 combo boxes.When i select a value in the first combo the other 5 will filter with values which is done using AJAX. Now the problem is if the value i selected in the first combo has a size say 50 the screen looks very bad with scroll bars on both sides....All the combos size varies according to the value selected in first one....

Can anyone give an idea to have all the combo boxes sizes fixed irrespective of how the AJAX fires.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#112</link>
      <pubDate>2008-05-20 08:13:34</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#112</guid>
    </item>
    <item>
      <title>Andreas</title>
      <description>Hey there, been looking for this. The online tool seems to work quite nice, but i can't download you class. Maybe you should take a look. Thanks</description>
      <link>http://codeassembly.com/A-php-code-beautifier-that-works/#111</link>
      <pubDate>2008-05-14 00:39:57</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-php-code-beautifier-that-works/#111</guid>
    </item>
    <item>
      <title>Stefan</title>
      <description>what about the new Zend Studio for Eclipse? It has an extensive code formatter built-in that you can configure to have every detail match your coding guidelines. Then, you can export those settings and have other people in your team import it. The formatting while working on a file is then only a single keyboard shortcut away.

Sure, it costs money, but Zend Studio (for Eclipse) has been worth a lot of money for ages in my humble opinion. It supports development in PHP in so many useful ways that it's worth its price.</description>
      <link>http://codeassembly.com/A-php-code-beautifier-that-works/#110</link>
      <pubDate>2008-05-12 07:09:29</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-php-code-beautifier-that-works/#110</guid>
    </item>
    <item>
      <title>Matthew Browne</title>
      <description>Thank you SO much! I have been looking for a way to do this forever. It's even better to have a whole class written already.</description>
      <link>http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#109</link>
      <pubDate>2008-05-03 16:58:49</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#109</guid>
    </item>
    <item>
      <title>Derrick</title>
      <description>As soon as I try loop one of these: 

    $array[] = array('1' => 'New York');

with something like:

    foreach($count=1; $count=3; $count++)
    {
	$array[] = array($count => '$count');
    }

I get this firebug error:

<b>Parse error</b>: syntax error, unexpected ';' in <b>F:\server2\Apache Group\... line 49 in jquery.chainSelect.js</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#108</link>
      <pubDate>2008-05-03 18:41:06</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#108</guid>
    </item>
    <item>
      <title>Radek</title>
      <description>To make it work on IE:

jquery.chainedSelects.js >> Line 36:
36: parameters : { '_id' :  $(this).attr('id'), '_name' : $(this).attr('name') },
37: } , settings);
Remove comma at the end:

parameters : { '_id' :  $(this).attr('id'), '_name' : $(this).attr('name') }
37: } , settings);</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#107</link>
      <pubDate>2008-05-01 14:21:24</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#107</guid>
    </item>
    <item>
      <title>radek</title>
      <description>
Doesn't work for me in IE 7. With 

$(target).get(0).add(new Option(data[i][key],[key]), document.all ? i : null);
i get
"object does not accept this property or method."
on  line 	$('#country').chainSelect('#state','/examples/jquerycombo/combobox.php',
</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#106</link>
      <pubDate>2008-05-01 14:23:33</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#106</guid>
    </item>
    <item>
      <title>Nguyen Duc</title>
      <description>Hi, I tried using a $var just replace "echo" in this function but can't. Help me because I am using Xtemplate for my project.
Thanks </description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#105</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#105</guid>
    </item>
    <item>
      <title>Barry</title>
      <description>Please provide an example of what you mean by "you need to select the rows inside the function instead of declaring the menu_array as a global." I have had the same issue with only one set of results being displayed.

Thank you.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#104</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#104</guid>
    </item>
    <item>
      <title>Aeglos</title>
      <description>The argument that "Smarty separates PHP from HTML files" is extremely absurd and ridiculous. What Smarty does is REPLACE the PHP in HTML files with it's own syntax which mimics PHP's, so the problem remains. Same crap, different smell. So instead of designers learning PHP, they have to learn Smarty which is only marginally simpler (notice: SIMPLER and NOT EASIER).

Separation of application logic from view can be achieved by various OTHER means far better than Smarty, such as MVC implementation or a better, cleaner, faster, templating engine.

And what most people fail to realize is that whatever Smarty does, you can do with PHP exactly the same way.

I invite you to search the web for the Savant templating engine. It's probably the prime example the ideal templating engine. Simple, fast, unobtrusive, and uses PHP native syntax to achieve all that Smarty can do, and more, with less resources.</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#103</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#103</guid>
    </item>
    <item>
      <title>Mike</title>
      <description>Thanks Remy. The following tweak of your code works for me in FF, IE7, IE6 & Saf3:

$(target).get(0).add(new Option(data[i][key],[key]), document.all ? i : null);</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#102</link>
      <pubDate>2008-04-23 03:28:00</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#102</guid>
    </item>
    <item>
      <title>Nguyen Duc</title>
      <description>Hi, I tried using a $var just replace "echo" in this function but can't. Help me because I am using Xtemplate for my project.
Thanks </description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#101</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#101</guid>
    </item>
    <item>
      <title>Jeremy</title>
      <description>First - thanks for the tutorial. Mauro, I had the same problem (worked on one server but only first row shows on a different server). Can you explain what you mean by selecting the rows inside the function instead of declaring the menu_array as global? Thanks.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#100</link>
      <pubDate>2008-04-18 00:57:45</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#100</guid>
    </item>
    <item>
      <title>MacGoerk</title>
      <description>Actually i think this has something to do with the use of a global var.

If you change the function to

generate_menu($parent, $menu_array) {

remove the line "global $menu_array;"

change the inner recursive call to generate_menu($key, $menu_array)

and the initial call to the recursive function to generate_menu(0, $menu_array) where $menu_array is your mysql result set

it will work!
As php SHOULD make use of pointers and call_by_reference, this will indeed result in a slightly higher memory usage. If it isn't this is just ... going to be exponential large if you have a deeply nested structure. However I'll try this way :)

Also, change the mysqli_whatever calls to mysql_whatever, as mysqli is deprecated.

HTH
Mac</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#99</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#99</guid>
    </item>
    <item>
      <title>mere56</title>
      <description>No! Its not working in IE!</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#98</link>
      <pubDate>2008-04-16 11:10:34</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#98</guid>
    </item>
    <item>
      <title>Mariano</title>
      <description>Remy: Works here in ie 7 (thanks!). In ie 6, almost: the first select triggers ok, but when you click the 2nd or 3rd select you get a "object does not accept this property or method" (translation from spanish, so may be innacurate. The error is referring to a jquery method, not this script.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#97</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#97</guid>
    </item>
    <item>
      <title>Remy</title>
      <description>Ok, I have been following this and have had a couple of issues, I stripped down my production environment to the bare essentials and ran my scripts in FF and IE7. I had no problems with FF and Firebug helped immensely. IE would not play ball, even though I had tried glenn's code (which incidentally precludes FF). 

I have been doing a bit of digging around and looked at other jQuery options for modifying the select list. The following line has been verified on IE7 and Firefox 2 and I have used it in place of Glenn's solution. I would be interested to hear how this works in IE6.

$(target).get(0).add(new Option(data[i][key],[key]),document.all ? 0 : null);	

This was found via an article on Dr Dobb's Journal (http://www.ddj.com/java/201000935?pgno=4)

Kudos to the author!</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#96</link>
      <pubDate>2008-05-01 14:21:24</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#96</guid>
    </item>
    <item>
      <title>Tim</title>
      <description>What about deleting? No one ever shows about deleting. I'm not talking DELETE WHERE id = $id AND parent = $id I'm talking if theres a Parent with a Child(1) that has a child(2) that has a child(3). If you delete the main parent how would it go about deleting all the way up to child 3 as child 2 is it's parent and child 1 is child 2's parent and parent is the parent of child 1. Hope I didn't confuse anyone.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#95</link>
      <pubDate>2008-05-01 14:21:24</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#95</guid>
    </item>
    <item>
      <title>Mariano</title>
      <description>Doesn't work for me in IE 7. With 
$(target).append(""+data[i][key]+""); and stuff I only get empty selects tags...</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#94</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#94</guid>
    </item>
    <item>
      <title>Remy</title>
      <description>When I try using this I get a page error: expected ";"

I know my JSON is well formed and have even tried to force a semi-colon in just to see and the results are the same. I also can't get the demo to work? I don't see a script error but the effect is the same, select an option and the other select boxes are made visible but with no members? I have tried IE7/Firefox.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#93</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#93</guid>
    </item>
    <item>
      <title>Tekin</title>
      <description>IE6 fixed but IE7 problem continue :(</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#92</link>
      <pubDate>2008-04-09 08:52:47</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#92</guid>
    </item>
    <item>
      <title>angel wortham</title>
      <description>what is the most popualr way to make a password stronger</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#91</link>
      <pubDate>2008-04-11 10:10:48</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#91</guid>
    </item>
    <item>
      <title>Dave</title>
      <description>The best way to determine password strength is to calculate the number of possible passwords based on the known parameters of the current password.

For example, in order of increasing strength:
5 characters, all lower case = 26 ^ 5 = 11881376.
5 characters, mixed case = 52 ^ 5 = 130691232.
5 characters, mixed case, numbers and symbols = 110 ^ 5 = 16105100000
10 characters, all lower case = 26 ^ 10 = 141167095653376
15 characters, all lower case = 26 ^ 15 = 1677259342285725925376

As you can see, a 10 character password has many, many more possible permutations than a 5 character password, even if there are much fewer possible characters for each letter of the password.  This is because the exponent of the equation has much more impact than the operand on the final result.

The trouble is, if the attacker knows that you strictly enforce your password policy then all the policy does is to reduce the number of allowable permutations.

For instance, in the 5 character password above, one character must be upper case, one must be lower case, one must be a symbol and one must be a number... the fifth can be any of them.  This leaves the possible combinations at 26 x 26 x 10 x 48 x 110 = 35692800.  To find the number of permutations we need to multiply that number by 5! which leaves us with 4283136000 which is around a quarter of 16105100000, the original number of possible passwords if the password policy is not enforced.

With all of this in mind, a password strength tester should assume that if you only have lower case characters then the operand is 26.  If you have upper case as well then the operand is 52.  Numbers add 10 to the operand and symbols add 48.  The length of the password becomes the exponent of the equation.  If your company enforces a password policy, simply divide the resultant password strength by 4.

Then all you have to do is hard-code some arbitrary values for "very weak" through "medium" to "very strong" as raw numbers of possible permutations.

P.S.
This algorithm is still a little naive in that it doesn't take dictionary words into account.  Dictionary words and variations on dictionary words such as letter-number substitutions, letter-symbol substitutions and prepending and appending numbers to the word are still extremely common.  All good password cracking tools will run through dictionary words and their variations before trying the more random permutations and hence these choices of password are inherently weak.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#90</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#90</guid>
    </item>
    <item>
      <title>glenn</title>
      <description>It seems my previous posting didn't correctly arrive:

This is the line you need to use to get results in IE:

<code>
$(target).append("<option value="+key+">"+data[i][key]+"</option>");
</code>
<br/>

Replace all in the inner for loop with this line.

Btw, I really like this implementation, the size of the plugin is also heaven and I'm a big fan of php/jquery combo.  This was right up my alley and it's being used in a production site as wel speak.

Thanks codeassembly.  If you need some help with finetuning this let me know.

</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#89</link>
      <pubDate>2008-03-21 13:46:36</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#89</guid>
    </item>
    <item>
      <title>glenn</title>
      <description>Hi,

For those who have trouble getting this in IE6 to work:

replace:

//option = document.createElement("OPTION");//create a new option
//option.value = key;//set option value  
//option.text = data[i][key];
//$(target).append(option); //insert the option into the select

With :
//insert the option into the select
$(target).append("<option value="+key+">"+data[i][key]+"</option>"); 

There is something up with passing the .text attribute to the way it's constructed here.  for some reason it does't work in IE and I cant be bothered to find out how to access the dom there.  I could tell in FF that it was working.

For any cache issues perhaps you could also change the parameter line to this one:

 parameters = { '_id' : $(this).attr('id'), '_name' : $(this).attr('name'), '_value' : $(this).val() , 'rrand' : Math.random()
};

As such it will not cache the request as some IE's don't even listen to the ajax global options.

Hope this helps some people here.

Glenn</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#88</link>
      <pubDate>2008-03-21 13:42:16</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#88</guid>
    </item>
    <item>
      <title>John Smith</title>
      <description>What would be the best way to add sanitisation for email addresses to this code?</description>
      <link>http://codeassembly.com/How-to-sanitize-your-php-input/#87</link>
      <pubDate>2008-03-08 14:16:53</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-sanitize-your-php-input/#87</guid>
    </item>
    <item>
      <title>miCRoSCoPiC^eaRthLinG</title>
      <description>Hey there... yep, I believe it's a ADODB bug. I traced the FetchRow() function to ADODB... but couldn't locate the cause. And yes, the query does return rows. My knowledge of MySQL statements fall in the "intermediate" region... so to avoid any problems while  using them through PHP, I always make sure the statement is wholly functional by testing them out first through phpMyAdmin and SQLYog. There's nothing wrong with the statement itself.. anyway, I'll try with the latest ADODB release and get back to you if it works out...

Thanks,
m^e</description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#86</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#86</guid>
    </item>
    <item>
      <title>Phil</title>
      <description>It would be nice to add a check for valid email address something like...

<pre>
<code>
function validate_email_address ($address)
{
	// check address format
	$address = stripslashes($address);
	if (!ereg ("^.+@.+\\\\..+$", $address) || empty ($address)) return FALSE;
	if (eregi ("\\r", $address) || eregi ("\\n", $address)) return FALSE;

	// safe
	return TRUE;
}
</code>
</pre>


Regards,
Phil
</description>
      <link>http://codeassembly.com/How-to-sanitize-your-php-input/#85</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-sanitize-your-php-input/#85</guid>
    </item>
    <item>
      <title>John Smith</title>
      <description>What would be the best way to add sanitisation for email addresses to this code?</description>
      <link>http://codeassembly.com/How-to-sanitize-your-php-input/#84</link>
      <pubDate>2008-03-08 14:05:39</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-sanitize-your-php-input/#84</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>Does your query return any rows ? The FetchRow() function is within ADODB so it can be an ADODB bug, try updating ADODB.
Also try testing your query and see if it runs fine using phpmyadmin or another tool. </description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#83</link>
      <pubDate>2008-03-08 05:01:50</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#83</guid>
    </item>
    <item>
      <title>miCRoSCoPiC^eaRthLinG</title>
      <description>Got a question here for the author.

Scenario
---------
I'm using .htaccess to redirect all page requests to my script, which then parses the pretty URLs and loads the correct page. Now some of these pretty URLs are generated out of concatenating 2 different fields, i.e. a 6 digit ID and a content title. 

The statement goes like...
-----------------------------------
SELECT CONCAT( id, '-',  title_nicename ) AS content_title, list_date AS update_date FROM tbl_content, tbl_content_meta WHERE tbl_content.id = tbl_content_meta.id ORDER BY tbl_content.list_date DESC;
-----------------------------------

As you can see, the concatenated result is return as a pseudo field named content_title, which isn't physically present in any of the tables.

When I pass this statement to your sitemap class, I keep getting this error message:
-----------------------------------
Fatal error: Call to a member function FetchRow() on a non-object in E:\\xampp\\htdocs\\site\\core\\classes\\sitemap\\sitemap.php on line 185
-----------------------------------

In contrast, generating sitemap off hard-coded field names presents no problem at all. So the reason must be that the sitemap class is running into some difficulties reading the value out of this dynamically generated field.

Any ideas how to get this thing working?

Thanks,
m^e</description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#82</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#82</guid>
    </item>
    <item>
      <title>abdullah</title>
      <description>"json_encode" this below :

<?php

function json_encode($dizi) {
  $veri = '[' . implode(',', $dizi) . ']';
  return $veri;
}

?></description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#81</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#81</guid>
    </item>
    <item>
      <title>pete</title>
      <description>example doesn't work on FF either . Missing files:

Warning: include(db.inc) [function.include]: failed to open stream: No such file or directory in /home/givanz/public_html/codeassemblycom/examples/ajaxcombo/combobox.php on line 7

Warning: include(db.inc) [function.include]: failed to open stream: No such file or directory in /home/givanz/public_html/codeassemblycom/examples/ajaxcombo/combobox.php on line 7

Warning: include() [function.include]: Failed opening 'db.inc' for inclusion (include_path='.:/home/web/framework//autoload/adodb/:/home/web/framework//autoload/') in /home/givanz/public_html/codeassemblycom/examples/ajaxcombo/combobox.php on line 7</description>
      <link>http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#80</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#80</guid>
    </item>
    <item>
      <title>unit.zero</title>
      <description>as you have all said, the purpose of templating engines is to separate presentation code from logic.. the problem is, the example above combines logic with presentation.. you can really see how useful smarty can be if you actually follow the rules and use it as it was meant to be used.. for example, in your php code, lets call it example.php:

$name = db->getName();  //whatever...

//NOW we do our logic, which is determining the greeting to use
if ($name == "Wilma") $greeting = "Welcome Ma'am.";
else if ($name == "Fred") $greeting = "Welcome Sir.";
//and then we assign our greeting
$smarty->assign('greeting', $greeting);
//finally we display the template
$smarty->display('example.tpl');

so in our template file, along with all our html, we just need:

{$greeting}

that's it..!  much easier for a third-party designer to avoid (and not destroy!)  

the smarty syntax is incredibly simple, you can learn to use the basic features in a day..  not to mention it provides many plugins that offer pagination (extremely useful) amonst many other things.. or you can write your own plugins of course..

MVC frameworks are a fine alternative but you can't really beat the simplicity and flexibility of smarty..  i also agree with hari and michael phipps - it is my opinion that any html combined with the php means your website is actually just webshite =)</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#79</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#79</guid>
    </item>
    <item>
      <title>Ken</title>
      <description>Hi, It looks like this script has a bug. I also has problem listing all of the categories. It starts nicely by listing Web development og followed by Php, but then it stops. 

It really seems like the loop does stops when the last sub categori does not contain a new sub. Because if you add a new sub cat. it will be listed.

Ok? Some ideas? </description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#78</link>
      <pubDate>2008-03-05 07:58:50</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#78</guid>
    </item>
    <item>
      <title>Mk</title>
      <description>Hi.  This code is great!  But one problem: I copied the code straight from this page, and it works fine, except for one thing.  I don't want the category names to be linked.  I only want the subcategories to be linked.  In the example displayed on this page, the category names are not linked, and this is how I want it, but when I copied the code, it makes them links.  How do I fix this?

</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#77</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#77</guid>
    </item>
    <item>
      <title>Mk</title>
      <description>This code is great.  I'm using the one with CSS formatting, not the javascript expandable one.  My problem is the category names are linked and I don't want them to be.  I only want the subcategories to be linked.  On this page, the example shows the categories as unlinked, but when I use the code, it makes my category names linked.  Any ideas?</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#76</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#76</guid>
    </item>
    <item>
      <title>Marçal</title>
      <description>Hi again,

I have changed the following plugin script line:


$(target).append(option);//insert the option into the select



with this other one

$(target).append('<OPTION VALUE='+key+'>'+data[i][key]+'</OPTION>');//insert the option into the select 

and now the script works also in IE. 

I hope this help somebody ;)



</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#75</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#75</guid>
    </item>
    <item>
      <title>Marçal</title>
      <description>Hi, 

congratulations for your script, is very usefull. But i didn't get it work under IExplorer, just in Firefox.

I'm trying to make it work under IE, if someone have already done it please let me know.

Thanks.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#74</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#74</guid>
    </item>
    <item>
      <title>apadley</title>
      <description>Sorry, I see that json_encode is PHP 5</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#73</link>
      <pubDate>2008-02-25 12:04:44</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#73</guid>
    </item>
    <item>
      <title>apadley</title>
      <description>I've installed the plugin, but get the following error:

Call to undefined function: json_encode()

I'd like to get this working.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#72</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#72</guid>
    </item>
    <item>
      <title>Eric</title>
      <description>Hi,

I'm having the same problems as Schalk & Jason whereby only "Web Development" & "Php" are printing.  It stops there.

Can anyone else get this to work?

Thanks</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#71</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#71</guid>
    </item>
    <item>
      <title>Stefan</title>
      <description>Hi,

I discovered a problem when using the script in 
combination with prototype.

The fix is simple ...

file:expand.js line:12

-- OLD --
for(i in cookieA)

-- NEW --
for(i=0;i<cookieA.length;i++)


Prototype adds some generic methods so using the "for in"-iteration causes errors.


cheers

Stefan</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#70</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#70</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>I'm glad you liked it. I updated the example, it now displays a "Loading ..." div while fetching data. You can replace the div with a spinner gif.

</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#69</link>
      <pubDate>2008-02-12 13:14:04</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#69</guid>
    </item>
    <item>
      <title>josoroma</title>
      <description>Hi!

Im a jquery newbie, but i test your plugin and is an easy and perfect piece of art. Great work!

I was wondering how can i add a spinner gif while the data is obtained for the new select?

Thanks in advance.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#68</link>
      <pubDate>2008-02-09 17:57:51</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#68</guid>
    </item>
    <item>
      <title>Mel</title>
      <description>Hi Mauro, I have the same problem as Jason but I dont understand you explination. What does this mean "you need to select the rows inside the function instead of declaring the menu_array as a global."? What does that mean? Which part of the script must I edit? Can you please give us an example.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#67</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#67</guid>
    </item>
    <item>
      <title>miCRoSCoPiC^eaRthLinG</title>
      <description>Forgot to thank the author :D Apart from those minor glitches this class works just fine. I got it integrated into my custom CMS in no time at all :)

Cheers,
m^e</description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#66</link>
      <pubDate>2008-01-10 05:21:21</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#66</guid>
    </item>
    <item>
      <title>miCRoSCoPiC^eaRthLinG</title>
      <description>I got the same error too.. i.e. "Parse error: parse error, unexpected T_RETURN, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in sitemap.inc on line 274".

If you look into the code, you'll find a misplaced "return" statement right before the closing brace '}' of the class. Commenting this out will make it work. Most likely the author didn't attach a tested copy of the class here.

After fixing the error above, I encountered a second one. The ping() function makes several calls to the file_get_contents() method, but on line 132, the same is written as contents() causing php to throw-up an error and halt. Changing that should help too.

Moreover, the URLs http://submissions.ask.com/ping and http://search.yahooapis.com/SiteExplorerService/V1/ping throw 403 Forbidden errors. Most likely the ping addresses have changed / and or require some sort of a login now. It'd be wise to enclose this section in a try-catch block so as to not break your code.

Cheers,
m^e</description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#65</link>
      <pubDate>2008-05-01 14:23:10</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#65</guid>
    </item>
    <item>
      <title>erichazann</title>
      <description>I get an error (cannot access object of type ADODB_mysql as array) on this line:
self :: $adodb[$property] = $value;

Changed to 
self :: $adodb->$property = $value; 
and it works.
</description>
      <link>http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#64</link>
      <pubDate>2008-01-08 10:49:33</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#64</guid>
    </item>
    <item>
      <title>Robert</title>
      <description>You have described some of things I was lookgin for, for a long time. </description>
      <link>http://codeassembly.com/How-to-center-a-page-layout/#63</link>
      <pubDate>2008-01-08 10:36:38</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-center-a-page-layout/#63</guid>
    </item>
    <item>
      <title>Agus Halim</title>
      <description>Agree with David, the code is too complex
i've got error message
Parse error: parse error, unexpected T_RETURN, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in sitemap.inc on line 274 and already chmod to 777 </description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#62</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#62</guid>
    </item>
    <item>
      <title>evll</title>
      <description>Well, the main reason to use Smarty (as was stated many times above) - to separate application logic from presentation logic.
Yeah, right, you can write:
<?php if ($name == 'Fred'} { ?>
    Welcome Sir.
<?php } elseif ($name == 'Wilma') { ?>
    Welcome Ma'am.
<?php }else { ?>
    Welcome, whatever you are.
<?php }?>
But ussually there is a whole bunch of pure php code above that.
As alternative you offer MVC frameworks. Well, are they better than template engines? Maybe, or maybe not. There is the same learning curve and many other problems. So, you can't deny the necesity of logic separation. And that's why Smarty is not bad.</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#61</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#61</guid>
    </item>
    <item>
      <title>Neon John</title>
      <description>This meter is quite flawed.  For example, I closed my eyes while hovering my hands over the keyboard.  I randomly typed a 30 character password into your test program.  I made sure I drifted up to the number row a few times to ensure a good mix of letters and numbers.  Your algorithm rated this random string as "medium".  Yet when I added ONE upper case letter, it suddenly became "strong".

In another test I MD5 hashed a short sentence.  Your algorithm only reported "medium" security.

Major flaws include giving only one point credit for >12 characters while giving the same credit for a single upper case letter.  Not giving proportional credit for longer passwords.  Surely a 30 character mixed numeric/text password is many times more secure than a 13 character mixed case password.  Your algorithm rates both the same.

Seems to me major improvements would include giving proportional credit to length.  Perhaps a simple randomness test or a letter frequency test?

John</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#60</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#60</guid>
    </item>
    <item>
      <title>bharatt</title>
      <description>have been using fedora for past year and a half or so. started with fedora core 4, then jumped directly to fedora 7 and now using fedora 8. 
as far as my experience goes, fedora core 4 was more stabler than fedora 7 and fedora 8. currently am using 64 bit version. 
even if these problems persist i am a strong supporter of fedora.

the problems am facing now,

 when running "compiz" and a desktop clock with some added GUI effects, crashes even when kept idle for some minutes. 
 
this is one major problem am facing now with this 64 bit.

felt 32 bit version is more stabler than 64 bit version

positives
better detection of hardware
auto mounting of windows partitions
works bit faster than fedora 7 

all i hope is to have a very stable version of fedora which can run non-stop with all latest gui effects as well as working as a server. in other words i should be a rugged operating system which can withstand all heavy loads and yet perform without any hiccups.

this is just a suggession, not a bug. it is a common problem.

hope to see a better version of 64 bit

thanks


</description>
      <link>http://codeassembly.com/Fedora-8-Impressions/#59</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Fedora-8-Impressions/#59</guid>
    </item>
    <item>
      <title>hari</title>
      <description>This is an absolutely ridiculous argument for larger projects because with templating systems you can avoid a lot of code duplication by keeping PHP separate from the HTML files.

It's obvious you've never worked on any PHP application which involves considerably more thought process than "Hello World".

Even if you avoid "Smarty" or templating systems in general, you would still find yourself writing a simple templating library yourself to keep having to repeat code segments in PHP. And trust me, large chunks of PHP code in HTML can be as confusing as hell after a while.</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#58</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#58</guid>
    </item>
    <item>
      <title>example</title>
      <description>Your meter still allows submitting by pressing enter.  Even if you don't capture passwords, your ISP is likely monitoring your traffic and will capture them.  You might want to block that.  </description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#57</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#57</guid>
    </item>
    <item>
      <title>Mike</title>
      <description>Nice class but don't forego service side validation. Client side validation does make the UI better for the user. But  savvy user can still monkey with input after processing with Javascript. 

Always do server side validation. Always. </description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#55</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#55</guid>
    </item>
    <item>
      <title>hakan</title>
      <description>thanks for your helpful articles! especially, i was looking for this code for 2 months :) this is my lucky day! thanks. </description>
      <link>http://codeassembly.com/How-to-center-a-page-layout/#53</link>
      <pubDate>2007-12-01 22:07:12</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-center-a-page-layout/#53</guid>
    </item>
    <item>
      <title>codeassembly</title>
      <description>Bob, I can assure you that no email or password is collected from that example.
I even disabled the submit button so people will not post the form data.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#52</link>
      <pubDate>2007-11-30 01:40:15</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#52</guid>
    </item>
    <item>
      <title>bob</title>
      <description>Great way to snag passwords - post a password strength meter with an email form.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#51</link>
      <pubDate>2007-11-30 00:19:22</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#51</guid>
    </item>
    <item>
      <title>Dave</title>
      <description>There are two ways to avoid rainbow table cracking:

1. Don't allow your encrypted passwords to fall into the hands of your attackers.
2. Use really long passwords.

If you are adding salt to passwords to increase their length, don't forget to make sure it's different salt for each password or an attacker will be able to crack all of your passwords as easily as cracking one of them.  Salt is also a good idea in general so that any two people with the same password won't have the same encrypted version.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#50</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#50</guid>
    </item>
    <item>
      <title>YIT</title>
      <description>Great resource, i am using it to validate a registration form on my website, it works perfect. Thank you</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#49</link>
      <pubDate>2007-11-26 09:13:37</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#49</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>Cheers Mauro - you are a star. It now works a treat :-))</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#48</link>
      <pubDate>2007-11-26 07:50:36</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#48</guid>
    </item>
    <item>
      <title>Bryan Price</title>
      <description>The problem is there is a DVD with all the hash codes for NT, 2000 and maybe even XP for all the 14 character alphanumeric passwords.  Can't find it now. :( Ah!

http://www.codinghorror.com/blog/archives/000949.html

Of course, throwing in on special character (+, -, #) you defeat that rainbow password cracking.  

At least until somebody decides to take that 8.5 gigs and starting adding more to it fill a 320GB laptop drive or a 1TB desktop drive.

Since I'm now rethinking my password strategy, I have yet to settle on something that I really like.

I'm thinking about using md5 hashes generated on my old passwords with a salt.  At least for my web passwords.  I've already found out how much my current low priority password shows up in Google with the md5 hash AND base64 encoding.  Login passwords are another issue.  md5 hashes aren't so great when you can't cut and paste.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#47</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#47</guid>
    </item>
    <item>
      <title>Matt</title>
      <description>Interesting article & example.  I'd like to add a couple of thoughts, with respect to both the "password security" discussion, and the code shown in the example.

As e's comment demonstrates, length is very important, and longer the better.  Also, the randomness of a password (entropy) is also very important.  The "words with sprinkled numbers" approach seems strong because of the length.  However, where brute-force may be infeasible against them, a dictionary and/or rainbow table attack would likely make short work of such a password.  http://grc.com/passwords is a good resource on generating long high-entropy passwords.

You should also take a look at your markup.  The example page is missing a doctype, and H tags can't be nested within a P.  Besides, having a header inside a paragraph just doesn't make sense.  It would also have been nice to see this implemented as unobtrusive javascript, without the inline onkeyup call and and empty div tag.

I hope you don't take this as harsh.  It is meant to be constructive criticism.  A UI feature like this is a good way to help users use stronger passwords, and this demo is pretty slick.  With just a bit more work, it'll be worthy of the attention it seems to be getting on del.icio.us.

You also might want to check your spelling of "meter" in the example code ;-)</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#46</link>
      <pubDate>2007-11-26 07:31:25</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#46</guid>
    </item>
    <item>
      <title>YIT</title>
      <description>the problem regarding accessibility to those who cant see the pictures can be solved with a button that when pressed will play a cat sound or a dog sound :)</description>
      <link>http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#44</link>
      <pubDate>2007-11-22 14:43:52</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#44</guid>
    </item>
    <item>
      <title>Mauro</title>
      <description>Hi, the problem is that you need to select the rows inside the function instead of declaring the menu_array as a global. It should work after that.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#43</link>
      <pubDate>2007-11-26 07:31:52</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#43</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>Hi,

Strange - I've also tried example above from Rik Moncur and it does exactly the same, works on one host but not another.

Regards

Jason</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#42</link>
      <pubDate>2007-11-26 07:32:56</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#42</guid>
    </item>
    <item>
      <title>Codeassembly</title>
      <description>Hi Jason, I had complains about this problem from other users, there is no php module requirement, I didn't discover the cause that is producing this problem.
I just retested my script and it works fine, I'm using php 5.2.4 with apache on linux for my tests, but I think it works fine on older versions to.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#41</link>
      <pubDate>2007-11-26 07:32:29</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#41</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>Hi

Having the same problem as Schalk above - works perfectly on one host but not on another?

Is there a specific PHP module that has to be enabled/installed for this to work?

Regards

Jason
</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#40</link>
      <pubDate>2007-11-26 07:32:42</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#40</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>Hi,

I have tried using the above on two different hosts - both are running php v5.

On one host, the menu displays perfectly but on the other it only ever shows the first 'parent' and first 'child'.

Is there a specific PHP Module that needs to be enabled for this menu to work? (hosts question not mine :-))

Many thanks

Kind Regards

Jason</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#39</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#39</guid>
    </item>
    <item>
      <title>Andrew Marlow</title>
      <description>This looks really good to me. But I cannot download the zip'd code. Looks like something may be wrong with the link. </description>
      <link>http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#38</link>
      <pubDate>2007-11-19 08:50:09</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#38</guid>
    </item>
    <item>
      <title>e.</title>
      <description>This is fun! Is there any way of making this captcha accessible to those who have trouble seeing the pictures? </description>
      <link>http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#37</link>
      <pubDate>2007-11-16 08:22:14</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#37</guid>
    </item>
    <item>
      <title>Avend</title>
      <description>Sure, this is a neat idea.. The only problem is that the picture samples you are using are repetitive: it would only take a few dozen manual refreshes to download all the images, sort them into the respective dog or cat category, and use that for making a bot. The bot could just compare file sizes (I think all these images have slightly different sizes), or perhaps an MD5 hash of them.

A more robust solution I believe would be to perhaps generate a new image, placing N pictures of cats and dogs in the picture randomly, sending that to the client, then asking how many of each one there are. Of course, this number would probably be less than 10, so even with that you could send enough junk to eventually get some through.</description>
      <link>http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#36</link>
      <pubDate>2007-11-15 21:34:39</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#36</guid>
    </item>
    <item>
      <title>Dadaso</title>
      <description>Really useful to develop project</description>
      <link>http://codeassembly.com/Why-are-php-coding-guidelines-important/#35</link>
      <pubDate>2007-11-15 07:22:08</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-are-php-coding-guidelines-important/#35</guid>
    </item>
    <item>
      <title>David Bradley</title>
      <description>That looks far too difficult for my puny php brain. Much simpler (as I'm using Wordpress) is to use the sitemap plugin, which does it all with a couple of clicks.

db</description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#34</link>
      <pubDate>2007-11-13 02:22:19</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#34</guid>
    </item>
    <item>
      <title>e</title>
      <description>Hi,

Good article, but I have some suggestions.

6 letters is not a strong password. 6 letter passwords can be cracked almost instantly. I would suggest at least 8 characters.

Also, your math is wrong. Using both cases is better than doubling. Consider a 6 character password only using lowercase. That's 26^6 = 308 915 776 possabilities. Using both cases however, is 52^6 = 19 770 609 664. The difference between these is a factor of 64. So for an n character password, using both cases increases cracking time by 2^n, not 2.

Cheers</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#33</link>
      <pubDate>2007-11-14 17:04:29</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#33</guid>
    </item>
    <item>
      <title>dod</title>
      <description>thanks for the clear way you have put this tut together.
just the facts none of the crap.
I like how you mainly focused on what we really want to know, the php</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#32</link>
      <pubDate>2007-11-12 07:31:30</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#32</guid>
    </item>
    <item>
      <title>V.Z. Bunich</title>
      <description>I removed the multi-threading --with-mpm=worker it works now , thanks!</description>
      <link>http://codeassembly.com/Bug-fix-for-apache-2.2.6-compilation-on-64-bit-linux/#31</link>
      <pubDate>2007-11-11 19:39:13</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Bug-fix-for-apache-2.2.6-compilation-on-64-bit-linux/#31</guid>
    </item>
    <item>
      <title>V.Z. Bunich</title>
      <description>Hi there , 
first of all thanks for the patch and your effort.

Yet i still have a problem with it after
root@buddha httpd-2.2.6]make 
I get the following error:

/usr/local/src/httpd-2.2.6/server/mpm/worker/worker.c:1203: undefined reference to `ap_thread_stacksize'

<...
/usr/local/src/httpd-2.2.6/srclib/pcre/libpcre.la /usr/local/src/httpd-2.2.6/srclib/apr-util/libaprutil-1.la -lexpat /usr/local/src/httpd-2.2.6/srclib/apr/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl
server/mpm/worker/.libs/libworker.a(worker.o)(.text+0x13cc): In function `child_main':
/usr/local/src/httpd-2.2.6/server/mpm/worker/worker.c:1203: undefined reference to `ap_thread_stacksize'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.2.6'
make: *** [all-recursive] Error 1
root@blahblah httpd-2.2.6]#


i will try to look further in to it...

Vlad
</description>
      <link>http://codeassembly.com/Bug-fix-for-apache-2.2.6-compilation-on-64-bit-linux/#30</link>
      <pubDate>2007-11-11 18:13:49</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Bug-fix-for-apache-2.2.6-compilation-on-64-bit-linux/#30</guid>
    </item>
    <item>
      <title>Schalk</title>
      <description>Hi,

I have been looking for something like this for ages, thank you so much! I just have one problem, and I'm sure it would just require a little tweaking of some sorts...When the initial parent level (0) is generated, the only 0 level links that is displayed is 'Web Development' with 'PHP" underneath and that's it! Do you know why this is happening, or even better how I can fix it?

Many Thanks in advance Schalk</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#29</link>
      <pubDate>2007-11-09 08:39:34</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#29</guid>
    </item>
    <item>
      <title>Finalzone</title>
      <description>"At the time of writing this the "Add/Remove Software" does not work, it cannot connect to fedora website to check for updates I hope it will be soon fixed, I want to install some software that I forgot to check when I first installed fedora." 

Those are not bug. Fedora 8 is just released so it is better to wait before applying update.</description>
      <link>http://codeassembly.com/Fedora-8-Impressions/#28</link>
      <pubDate>2007-11-08 19:06:22</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Fedora-8-Impressions/#28</guid>
    </item>
    <item>
      <title>Rahul Sundaram</title>
      <description>The mirror list should work again. A hardware failed in the Fedora data center but has been replaced now. For the bugs, have you actually filed any bug reports instead of just hoping they would be aware of it and fixing it all by themselves? It would be useful to participate and file good bug reports on problems you find. Helps others keep track of the issues too. </description>
      <link>http://codeassembly.com/Fedora-8-Impressions/#27</link>
      <pubDate>2007-11-09 02:17:53</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Fedora-8-Impressions/#27</guid>
    </item>
    <item>
      <title>Harald</title>
      <description>i agree with most of your points, even though i don't like your coding-guidelines. but that's a very subjectiv point of view ;-). however:

in projects where you will not only have php code but javascript, perl, shell, whatever else phpdoc might not be the best solution, because i think the source-code documentation should look the same across all languages. i've tried several solutions for this and are now using robodoc, which i like very much. it won't analyse your source-code and therefore most time it's a lot more to write to document your code. on the other hand you have unified documentation for all your source-files - and i mean really all: you can even write documentation for your configuration-files for example.
</description>
      <link>http://codeassembly.com/Why-are-php-coding-guidelines-important/#26</link>
      <pubDate>2007-11-06 13:57:06</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-are-php-coding-guidelines-important/#26</guid>
    </item>
    <item>
      <title>John Waddell</title>
      <description>I encountered a mailcious cracker on one of our servers, apparently it originated in Germany. How it got into our server is still a mystery.  The cracker had a complete english dictionary list and tried to break into MS-SQL Server trying root, sa and admin and every word with numeric preamble and postamble.  Brute force isn't hard to employ.  We use a Dr. Seuss book and take 2 words from different pages and sprinkle numbers but no scheme is "uncrackable", or that's what we should assume.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#25</link>
      <pubDate>2007-11-19 08:50:36</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#25</guid>
    </item>
    <item>
      <title>Ryan</title>
      <description>Excellent tutorial.  Explained well, highly detailed, very practical.  Thanks for writing this.  </description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#24</link>
      <pubDate>2007-11-05 13:58:58</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#24</guid>
    </item>
    <item>
      <title>Rafael Cortes</title>
      <description>Be carefull with the letter substituion alone, since most brute-force dictionaries already include words with the most common substitutions.
i.e. P@ssw0rd will show as a strong password, but it exists in most dictionaries, so does $tr0ngP4$$w0rd (StrongPassword) and Sys@dm1n... While P@ssw0rd and Sys@dm1n shows in this script as Strong, $tr0ngP4$$w0rd shows as strongest, they will not sustain a dictionary attack which usually gets done before or during the brute force attack. 
Try to use word combinations such as W0rd1ng-4-G33k$ (Wording-for-Geeks), or backward words like ys@3t0N$I$ihT (ThisIsNotEasy).
</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#23</link>
      <pubDate>2007-11-05 09:25:17</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#23</guid>
    </item>
    <item>
      <title>David Bradley</title>
      <description>Nice idea that might be easily mashed up with my <a href="http://www.sciencetext.com/passwords-for-scientists.html">passwords for scientists</a> tip ;-)

db</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#22</link>
      <pubDate>2007-11-05 04:42:12</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#22</guid>
    </item>
    <item>
      <title>Big</title>
      <description>Cute, but not particularly accurate, "P@ssw0rd" isn't really a "strong" password.

Anything that http://www.openwall.com/john/ can crack in under 10 seconds counts as "very weak". Modern tools are quite quick at anticipating simple number/letter substitution and other "leet speak" tactics.

Neat Javascript demo though - to do better you'd need to jump up the complexity significantly and use ajax running serverside dictionary attacks against the suggested password...

cheers,

big</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#21</link>
      <pubDate>2007-11-05 01:50:20</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#21</guid>
    </item>
    <item>
      <title>gigi</title>
      <description>very usefull tutorial</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#20</link>
      <pubDate>2007-11-19 08:50:54</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#20</guid>
    </item>
    <item>
      <title>Tane Piper</title>
      <description>I've released a jQuery plugin that makes this very easy:

http://dev.digitalspaghetti.me.uk/password/

It makes it easy to create a password field, and attach the effect to it showing the strength of the password, and it's very customizable.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#19</link>
      <pubDate>2007-11-02 08:15:15</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#19</guid>
    </item>
    <item>
      <title>A. Lai</title>
      <description>Your live example won't work on IE6. Just Firefox and Opera. 
Any idea why?</description>
      <link>http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#18</link>
      <pubDate>2007-10-31 11:28:25</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#18</guid>
    </item>
    <item>
      <title>devnic</title>
      <description>Cool. Something basic yet very informative to save a lot of struggle.
thanks</description>
      <link>http://codeassembly.com/How-to-center-a-page-layout/#17</link>
      <pubDate>2007-11-19 08:51:09</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-center-a-page-layout/#17</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>The css version doesn't seem to function as per your example i.e. the first item in the menu has href link but should be just text?

Hope that makes sense - great tutorial though :-)

Regards

Jason</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#16</link>
      <pubDate>2007-10-07 08:25:25</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#16</guid>
    </item>
    <item>
      <title>kasp3r</title>
      <description>Thank you very much for your article. It helped me a lot! </description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#15</link>
      <pubDate>2007-11-19 08:52:58</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#15</guid>
    </item>
    <item>
      <title>kasp3r</title>
      <description>Thank you very much for your article. It helped me a lot! </description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#14</link>
      <pubDate>2007-11-19 08:53:07</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#14</guid>
    </item>
    <item>
      <title>Raul Saucedo</title>
      <description>Thanks for your answer,

I believe I got the file location issues covered.

I did test with all the files in the same directory on my local web server, just in case, I re-downloaded the files and tested again both on my local server and on my hosting. 

I tried with MS Explorer 6.0 SP2, Firfox 2.0.0.7 and Safari 2.02 for win, on a Win XP SP2 machine, the results are identical on all browsers. 

You can see what I mean at this address: http://www.masterkey.com.mx/validate.php

I am still wondering why the html form name is not returned to the script, although there is a lot in it so at least it is partially working.

Thanks in advance,

Best Regards,

Ra</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#12</link>
      <pubDate>2007-11-19 08:53:33</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#12</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>You must put the files from this example in your "Document root" folder of your web server.
I think the problem is that "validate.js" is not included in your html file, check the path of "validate.js".
Also you didn't specify what browser you used, I only tested this example on Firefox and Internet Explorer.

</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#11</link>
      <pubDate>2007-11-19 08:53:57</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#11</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>Yes, your observation is correct, I removed the links from top categories, because I don't have those categories on my website, and I don't like putting # on my links.
Thanks.</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#10</link>
      <pubDate>2007-11-19 08:53:44</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#10</guid>
    </item>
    <item>
      <title>Raul Saucedo</title>
      <description>Well this looks exactly what I need to verify inouto on my Web Site. 

Looks nice and clean.

Unfortunatelly it does not work (at least for me), Am I doing something wrong? I know, stupid things take a long time...

For some reason the "validate.js" is not producing the full code.
1) the desired script second line is missing:
"function validateuser_registration(formname) {" so initially the broser marks an error "error: return statement outside function" becasue the function was not called.

2) Then the second fucntions wich apparently most to get the "Formname" is not geting it.

3) Sadly even I fill manually those gaps manually, the validation starts to work, but when the form is correctly filled, I does not call the exit function, but shows the form again, with the data initially placed on it before all the validations clear...

I am sorry but I do not know any JS, so I ca not help.

Here it is what I get from the JS function:
<script>
error_color = '#FEFE00';
if (!minLength(formname.user,3,"Username must have at least 3 characters !")) return false;else
if (!IsEmpty(formname.name,"You forgot to enter your name !")) return false;else
if (!IsEmpty(formname.surname,"You forgot to enter your surname !")) return false;else
if (!isEmail(formname.email,"You must enter a valid email !")) return false;else
if (!isEmail(formname.email2,"You must enter a valid email2 !")) return false;else
if (!minLength(formname.pass,6,"Your password must have at least 6 characters !")) return false;else
if (!passwordMatch(formname.pass,formname.pass2,"Password don't match !")) return false;else
;
return true;};
function init(e)
{
	if ( validate(document.) == false ) 
	{
		if (!e) var e = window.event;
		if (e.preventDefault) {
		      e.preventDefault();
		      e.stopPropagation();
		} else {
		      e.returnValue = false;
		      e.cancelBubble = true;
		}		
		return false;
	} else
	{
		return true; 
	}
	//cancel submit if validate returns false;
}	

if (document.getElementById('').addEventListener)
{
  document.getElementById('').addEventListener('submit', init, false); 
} else if (document.getElementById('').attachEvent)
{
  document.getElementById('').attachEvent('onsubmit', init);
} else
{
	document.getElementById('').onclick = init;
}</script>

Would love to have it working!

Thanks in advance and keep doing this nice work.

Regards,

Raul S.




</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#9</link>
      <pubDate>2007-11-19 08:52:47</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#9</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>The css version doesn't seem to function as per your example i.e. the first item in the menu has href link but should be just text?

Hope that makes sense - great tutorial though :-)

Regards

Jason</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#8</link>
      <pubDate>2007-10-05 16:02:58</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#8</guid>
    </item>
    <item>
      <title>Hernan</title>
      <description>Useful class.  I will include it in my php resources collection :)</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#7</link>
      <pubDate>2007-11-19 08:52:30</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#7</guid>
    </item>
    <item>
      <title>ion gion</title>
      <description>There is indeed no purpose to use any template system in php. PHP itself is a template language, for example you can write the code above like this:

&lt?php if($name == 'Fred'): ?&gt;
 Welcome Sir. 
&lt?php elseif: ?&gt;
 Welcome Ma'am. 
&lt?php else: ?&gt;
 Welcome, whatever you are. 
&lt?php endif; ?&gt;

Remember that PHP also has an alternative syntax(so you can dismiss those curly brackets )

if:
//block
endif;

foreach($items as $k=>$v):
//block
endforeach;

and the list goes on(for/switch/do/while ...)

PHP itself is a fully fledged template language.
</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#6</link>
      <pubDate>2007-11-19 08:52:14</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#6</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>Hi Michael, if your templates are not made by a designer, but by someone with php knowledge, I don't see the purpose of using smarty. I think that a designer's job is to make the template in psd or other graphics format, and the front end programmer should make the html + css from that template  and finally a php programmer should include the necessary php code to the template.
I think this approach is the best, because everybody does what he is good at.
I think is a very good idea to dump smarty, because there are no advantages in using it. You can try a template system based on php like <a href="http://phpsavant.com/yawiki/">phpsavant</a> or you can try a full featured mvc framework, the advantage of mvc is that it keeps your code really organized, keeping your business logic separated from your presentation logic.</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#5</link>
      <pubDate>2007-09-30 15:01:48</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#5</guid>
    </item>
    <item>
      <title>Notos</title>
      <description>Exlenet class but i whoul like to soo less alert and more in line alert ala DHTML</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#4</link>
      <pubDate>2007-11-19 08:51:57</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#4</guid>
    </item>
    <item>
      <title>kya</title>
      <description>nice codes.
it hep me a lot
expecting more like this
keep it up</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#3</link>
      <pubDate>2007-11-19 08:51:37</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#3</guid>
    </item>
    <item>
      <title>Michael Phipps</title>
      <description>I'm a long time user of Smarty Templates, but I've gotta say you raise some really good points.  Why do I use Smarty?  To separate business logic from presentation logic.  It used to be so designers could work with me, but I end up having to create the template myself anyway because web designers don't understand  templates.

I don't like having any HTML inside my PHP code.  Even though, unless you enforce it, Smarty still allows PHP code in templates - and one project I worked on I found another developer just writing PHP business logic straight into the Template Pages...  What's the point?

With the way I use Smarty, there's really no reason for me not to use plain old PHP instead.  In some cases I've used some pretty complicated template instructions to achieve something that would be much simpler to write in PHP.  

I have considered dumping smarty in the past.  Maybe it's time I actually tried working without smarty on one of my sites?</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#2</link>
      <pubDate>2007-11-19 08:51:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#2</guid>
    </item>
    <item>
      <title>Michael Phipps</title>
      <description>Hi,

I just stumbled on your site through Furl, where i have a PHP search sent through to my feed reader.  From the articles I've already seen on your website (I'm commenting on this post after reading quite a number of your articles), I have added you to my feed reader, and will be very interested to see what you write about.

</description>
      <link>http://codeassembly.com/Hello-World-!/#1</link>
      <pubDate>2007-11-19 08:51:19</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Hello-World-!/#1</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>I checked the example from your web server and I noticed that variables inside the heredoc from formvalidator class, are not parsed, it seems that there is a problem with new line characters between operating systems <a href="http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc">http://www.php.net/manual/en/language.types.string.php</a>. I'm using linux, I guess you are running windows for your web server, so the new line character is not the same and the heredoc does not parse correctly.
I replaced the heredoc with a double quoted string so now it should work on windows also.
You can download the new files and try it.
Thanks for the bug report.


</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#0</link>
      <pubDate>2007-11-19 08:53:22</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#0</guid>
    </item>
  </channel></rss>