Have you tried my MySQL C API Site ?
I have posted some C API examples here.
http://www.geocities.com/jahan.geo
Aftab Jahan Subear
Subedar Technologies
Subedar Baag
Bibir Bagicha #1
North Jatrabari
Dhaka 1204
Bangladesh
Tel: +880-2-7519050
/*
Get customized T-Shirts with logo for your IT company
Hi Nikhil,
Have a look at www.hotscripts.com for either a script that dose this or a
tutorial to show you how to do it.
But in general you DO NOT store the image in a MySql table you just store
its location name i.e. 'images/image1.png' and then with a select
statement use the result in a 'img