Hello World in CakePHP – 3 steps

Download and set up CakePHP in your webroot. Stop reading further if you cant do it or you are not sure how to do it. Create a file named “helloworld_controller.php” in folder “cakephp/app/controllers/helloworld_controller.php” and paste following code in the file <?php class HelloWorldController extends Controller { public $name = ‘HelloWorld’; //Controller name, we need it. […]

Problem with NULL in MySQL

One fine morning you simply login to MySQL Terminal and… [email protected]:~$ mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 61 Server version: 5.1.37-1ubuntu5.1 (Ubuntu) Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement. mysql> select concat(‘Hello ‘,NULL,’World!’); […]