[EMAIL PROTECTED] wrote: > Hi all, > Is it possible to have an external file as an attachment in MySQL? > An example would be a .gif, .doc, .ppt, .ram etc. > If there is no way directly have MySQL table to store an attachment, is there > any work around? > Any guidance will be appreciated.
To store it in the database you should use a blob: http://www.mysql.com/doc/B/L/BLOB.html I usually store the path to the file in the database 'though. b. --------------------------------------------------------------------- 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