I'm no certified expert, but preference would be storing a URL to an image
in the database rather than the image itself.

If however you do want to store them in the db try using a blob column type.

This article is PHP3 but shows the basics:
http://www.phpbuilder.com/columns/florian19991014.php3

HTH

Graham

-----Original Message-----
From: GH [mailto:[EMAIL PROTECTED]
Sent: 27 September 2004 23:19
To: php-general
Subject: [PHP] Images in PHP and MySQL


I was wondering how to get images into and out of a Mysql database
with in php... I do not have anything in my book... but was told it
was possible.

I have PHP 4.3.4 and mysql 4.0.18

Thanks

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to