On Thu, Aug 23, 2001 at 05:07:35PM -0500, Gary Jollymore wrote: > > how would i get a file such as /files/photo.jpg into a mysql table > such as > > create table photo ( code decimal(6,0), photo blob); > > i tried insert into photo values('4142','/files/photo.jpg'); which > of course just put the file name into the 'photo' column. Check out LOAD DATA in the manual. -- Jeremy D. Zawodny, <[EMAIL PROTECTED]> Technical Yahoo - Yahoo Finance Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 685-5936 MySQL 3.23.41-max: up 6 days, processed 89,280,627 queries (148/sec. avg) --------------------------------------------------------------------- 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