On 23.02.2001 13:01:44 Danie Weideman wrote:

> What field type must be defined for pictures.

MEDIUMTEXT for the data
VARCHAR/ENUM/INTEGER/whatever for the image type

> How to load and retreive pictures from a database using PHP

The same you do with "normal" data.  Ie.:
Store:    INSERT INTO Table (ImageType, ImageData) VALUES ( <ImageTypeValue>,
<ImageDataValue> )
Retrieve: SELECT ImageType, ImageData FROM Table  WHERE ID = <WhatEver>



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to