Field Doesn't Have a Default Value And sql-mode On MySQL

MySQL doesn't allow us to set default value for field with TEXT data type. It caused MySQL often return error message "Field '' doesn't have a default value". And it occur because we do not set value for that field when execute SQL statement, while that field has no default value.

How To Use Doctrine PHP ORM?

On my previous post I have write about doctrine usage with Zend Framework. On this post, I will try to give sample usage of doctrine that contain:
- Installation
- Configuration
- Models & Schema File
- Migration

Doctrine Usage On Zend Framework

doctrine logo In the last few months I used doctrine as ORM on my project. Actually, there are a few ORM on PHP like propel.

Convert SVN Repository To Git

Now, I'm moving to Git. After use Subversion as SCM for a few years. Start from our need for distributed SCM and want to try SCM that been used in Linux Kernel development.

Karakter ^M Di PHP

Ketika bekerja dengan dokumen text yang dibuat pada sistem operasi windows, karakter "^M" (Ctrl + M) sangat sering ditemukan. Karakter tersebut merupakan break line yang terdiri dari \r\n. Tetapi Unix membaca karakter tersebut menjadi ^M.

Log Your PHP Application With Zend_Log (Part 3/Finish)

This article is a continuation of Log Your PHP Application With Zend_Log (Part 2). Check it out if you missed it. Last time I wrote about installation and some features of Zend_Log. Now I will explain about Zend_Log usage.

Zend_Log Usage

Log Your PHP Application With Zend_Log (Part 2)

This article is a continuation of Log Your PHP Application With Zend_Log (Part 1). Check it out if you missed it. Last time I wrote about some features of Zend_Log. And now I will explain about installation and terminologies on Zend_Log.

Installation

Log Your PHP Application With Zend_Log (Part 1)

Log is very important for a system. With it we can monitor the system that currently running, and make easy to trace the really source problem on the system

For PHP programmer, you don't need to be headache to think how make proper log in your PHP application. With Zend_Log, all your need to make proper log has suffice.

Open Source: Patch PHP CodeSniffer 1.1.0

Just take is not suffice and sometimes we must give. As a man that living from open source, work with open source software or programming language made me owe too much to open source. So, in 2009 I have make contribution to open source is one of my new year resolution.

Syndicate content