phpbar.de logo

Mailinglisten-Archive

Re: Image in mysql-database
Archiv Mailingliste mysql-de

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image in mysql-database



Holla,

>Hi, whats the correct datatype for a mysql-column where i want to save raw
>image data (.gif or .jpg)?

Datatype for saving binary data is BLOB; MySQL-Manual:
"7.2.7.2 The BLOB and TEXT types

A BLOB is a binary large object that can hold a variable amount of data.
The four BLOB types TINYBLOB, BLOB, MEDIUMBLOB and LONGBLOB
differ only in the maximum length of the values they can hold."

HTH,
Bernhard
--
Bernhard Ostheimer

E-Mail: Bernhard.Ostheimer_(at)_Uni-Mainz.de

---
*** Abmelden von dieser Mailingliste funktioniert per E-Mail
*** an mysql-de-request_(at)_lists.4t2.com mit Betreff/Subject: unsubscribe


Home | Main Index | Thread Index

php::bar PHP Wiki   -   Listenarchive