How to save image using PHP MySQL

I have very simple way to store image in mysql databases. I will describe how to save images in MySQL and display it using PHP.

The first step, we need to make a MySQL databases to store our images data. Make a database called “images” on your MySQL  database, then create a table called “imagesdata”.

CREATE TABLE `imagesdata` (
`id` int(6) NOT NULL AUTO_INCREMENT,
`image` longtext NOT NULL,
`dates` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;




April 20, 2009

Category: PHP Tags: ,

UNO goes to Facebook!

Nowadays Facebook grew really fast and everybody knows about Facebook now. I didn’t like any social networking website before, I think it’s just crap website. But my mind has changed since I knew Facebook, this website is really awesome. Like the others social networking website, we can meet with other people online than making friend, upload profile, photo, and etc. But, the best part of Facebook is, it has Facebook Application. We can find ton of Facebook application now, and those application is really interesting.




April 18, 2009

Category: Blog, Info Tags: ,

Free Bingo Game

Hi hello, today I’m going to talk about free online bingo. I have pretty cool information about for you related online bingo games. If you are looking for free online bingo game, you can browse to bingoplayeronline.com.




April 16, 2009

Category: Uncategorized Tags:

Petit Bateau tee

Many big fashion companies are recovering, with the official decision they start to sell their products on-line for people to buy. They have made purchase on-line information that is deducted from your body and what is best for you. Once you know that, browsing through the style of clothes that match and you know you are well.




April 12, 2009

Category: Uncategorized Tags:

Etsy Bracelet

Yesterday my sister asks me to search a bracelet with clear and colorful crystal for her daughter birthday present in next 2 weeks. For the first time she asks me to search together in some department store in town.




April 11, 2009

Category: Uncategorized Tags: