Little mistake on naming variable make me confuse for almost an hour. $this yes, $this is built-in variable that often use in OOP. By using $this, we refer to self referencing variable. More in php.net manual <?php class A { function foo() { if (isset($this)) { echo ‘$this is defined (‘; echo get_class($this); echo “)\n”; } else { echo “\$this is not defined.\n”; } } […]

PHP6, I thought I already have latest one. 5.2.6 but I’m wrong 🙂 Quick way to try PHP6 is by installing Appserv 2.6.0, click here to download php 6.0.0-dev Installation process is the same as other appserv series : 1. Double click installer

Just for my own record, dealing with Null type field. Checking with : select * from tablename where field1=”  -> this one not work select * from tablename where field1=’Null’ -> same too is null is the answer select * from tablename where field1 is null Save my day, thanks to St4r 🙂

Run a smooth and hassle free operating system is a dream of everyone who use windows as their daily friend including me. I wrote this post as result of my friend fear. She deny to update her windows installation because she afraid and want to see it in screenshot mode. 1. Download Windows XP SP3 […]

What is that for? my friend asked my a question after lunch. Well, install php using file from php.net don’t automatically set environment path for php location. As result we must type full location of php.exe each time we must execute php from command line. Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. […]