May 9th, 2008 by Fauzan
PHP dan MySQL memang merupakan pasangan serasi yang selalu menjadi pilihan utama para develepor web. Selain karena memang terbukti ketangguhannya, kedua tools tersebut berbasis free dan open source, sehingga siapapn dapat memakai dengan bebas bahkan mengubah kode program agar sesuai dengan yang diinginkan. Namun seringkali kita di buat bingung ketika sedang mengolah data yang memiliki format waktu (datetime). Hal tersebut dikarenakan PHP dan MySQL memiliki format yang berbeda.
PHP menggunakan unix timestamps untuk semua date functionality nya dimana format ini menyimpan data dalam bentuk integer, sedangkan MySQL mempunyai tiga format tipe waktu (DATETIME, DATE, dan TIMESTAMP) dan semuanya dalam bentuk string. Hal inilah yang biasanya membingungkan para develepor web untuk menggunakan dan menyimpan dalam format yang mana. Biasanya para developer akan tetap menyimpan dalam bentuk php timestamp dan di MySQL akan di anggap sebagai string biasa (menggunakan tipe varchar).
Lanjut Juragan »

Posted in PHP, Programming | No Comments »
March 6th, 2008 by Fauzan
After several blog walking today, I discovered that tennis actually descended from another sport many years ago, in the 16th and 17th centuries in England and France. It didn’t start as the name “tennis” however. The term “royal” was actually used up until the 19th century when it started being called “real”. Real tennis is still played on about 35 different courts around the world in Australia, the United States, France, and the United Kingdom. I didn’t really know about any of this, but after read several article, I learned that the term “tennis” comes from a French word “tenez”, which means “take it,” as a warning from the server to the receiver.
Talking about tennis, I remember with Japan anime “Prince of Tennis”. The story talk about junior high school students named Echizen Rhyoma, who plays tennis very well. Since child he practices tennis everyday with his father. He can play with his both hand. Sometimes in the middle of match, he switches his racket from left to right hand. It gives advantage for him, and makes confuse his enemy. For you who like anime, prince of tennis is one of my recommended titles.
Lanjut Juragan »

Posted in Sports | 8 Comments »
February 21st, 2008 by Fauzan
Posted in Music | 6 Comments »
February 15th, 2008 by Fauzan
Posted in Celoteh, Ngoprek | 5 Comments »
February 8th, 2008 by Fauzan
Posted in Blog, Event | 1 Comment »
February 4th, 2008 by Fauzan
Posted in Blog, Fotografi | 9 Comments »
January 5th, 2008 by Fauzan
Posted in Blog | 13 Comments »
January 4th, 2008 by Fauzan
Posted in Curhat, Fotografi | 11 Comments »
January 1st, 2008 by Fauzan
Posted in Blog, Celoteh, Fotografi | 5 Comments »
December 14th, 2007 by Fauzan
Posted in Linux | 8 Comments »