Contact Me — I just finish developing a custom Contact Form for this blog, if you need to reach me please do so using at the Contact page. August 29, 2008 1 Comment
links for 2008-08-28 — My daily posted bookmark from del.icio.us August 28, 2008 No Comments
Copying JavaScript Object Without Adding Reference
Question
How to copy a JavaScript Object without adding the reference to the object it copy from? For example:
var user = { name: "Mior Muhammad Zaki", age: 25 }; var programmer = user; programmer.language = ["PHP", "MySQL", "JavaScript"]; alert(user.language); // return ["PHP", "MySQL", "JavaScript"] (when expect undefined)
Combining Multiple Table Columns in MySQL
Question
How to combine address1, address2, address3 and address4 in the following table to a single column such as address?
CREATE TABLE user ( `id` INT NOT NULL AUTO_INCREMENT , `name` VARCHAR( 255 ) NOT NULL , `email` VARCHAR( 255 ) NOT NULL , `address1` VARCHAR( 100 ) NOT NULL , `address2` VARCHAR( 100 ) NOT NULL , `address3` VARCHAR( 100 ) NOT NULL , `address4` VARCHAR( 100 ) NOT NULL , `postcode` VARCHAR( 6 ) NOT NULL , `state` VARCHAR( 100 ) NOT NULL , PRIMARY KEY ( `id` ) ) ENGINE = MYISAM;
New Savvy.UI Namespace — Savvy.UI JavaScript Library starting from version 1.0.0 will use Js as it's default Global namespace, in addition you still can use SUI if you prefer. August 22, 2008 No Comments
links for 2008-08-15 — My daily posted bookmark from del.icio.us August 16, 2008 No Comments
Savvy.UI Trunk — Check out Savvy.UI JavaScript Library code subversion at http://savvyui.googlecode.com August 12, 2008 No Comments
CryBook — This site now using a new WordPress theme called CryBook, design and coded by myself. August 1, 2008 5 Comments
VIP - Very Important Programmer
VIP (Very Important Programmer) PHP programming contest is organized by K-Ekonomi Melaka, collaboration with Art In Software Sdn Bhd. This event has good opportunity to expose programming culture to everyone that involved. The event will be held on 23rd - 24th August 2008. On 23rd (Sat), interested talks will be given related to Information Technology starting from 11 a.m till 4.30 p.m.
Not so sure I would attend the event but if you a PHP freak who like to put your skill and knowledge here a good opportunity for it.
