What am I doing now?
Archives 

Show All

  • 2009
  • 2008
    • December
    • November
    • June
    • May
    • April
    • March
    • February
      • Happy leap year day!
        02/29/08
        And if you're reading this, I have a present for you!

        Buy any one extension from us today (must be an order on the 29th of February) and email me with a request for another extension of equal or lessor value and I'll give you that one too!

      • mySQL searching for special characters like %
        02/27/08
        With most special characters in languages and, in this case, SQL, there is a way to escape them (which means have the character count for what it really is instead of the special meaning).

        In mySQL, if you want to search for the % character, which means match anything and normally returns

      • Countdown clock - Javascript
        02/22/08
        Check it out here:
        http://www.kaosweaver.com/testing/countdownclock.php

        In order to use it, you need to copy the JavaScript in the HEAD of the document and the DIV countdownclock with the contents.

        To set the time to count down to, find this line:
        cdc.p(2,23,2009,10,4

      • Code Igniter custom validation checking
        02/19/08
        I needed to validate three fields together, based upon the field names being phone1, phone2, phone3. I found out I could pass a parameter through a custom function, like this:


        $rules["phone1"]="callback_phone_check[phone1]";

        ...

        function p

      • Reveal Password Script
        02/13/08
        So you have a login, but you want your users to be able to see their password when they are entering it, if they want to - so, we need some JS for this. I have my core scripts:


        function $(){eS=new Array();for (i=0;i<arguments.length;i++) {el=arguments[ i]; if (typeof el == '

      • LABEL tags, IE and Firefox...
        02/07/08
        I have a form validation routine, trying to use good feedback and accessible, I'm working off of the label's for attribute in order to get the error message to tell them the exact field they need to look at. So I setup a collection, getElementsByTagName (using label) and then check the fo

    • January
  • 2007