At a certain time, now past, Emma Grant spake thusly:
> Hi All, 
> 
>        First of all I want to thank you all for all the help that you have given me 
>throughout the last week. 
>        
--------8<--snip--------
> I need to be able to insert images into the database through a FILE FIELD on a web 
>form. I have already tried this through a simple form that I created, but it only 
>inserts the actual location (eg C:Documents and 
>SettingsAdministratorDesktoppersonal.jpg) of the file that I am browsing for on my 
>computer. Is there some sort of syntax that I have to use that converts the image to 
>binary as it gets “inserted” into the database, and then can be read by any 
>program (ie, web browsers) as an image when I select it again from the database 
>through a SELECT query? 
> 
--------8<--snip--------

There are many ways to do the file transfer portion, none of which really
apply to MySQL.

I do not recommend putting images into the DB, but you want search the
documentation for the BLOB column type.  Weigh the pros and cons before
implementing such a thing.

       ~elh

-- 
Eric L. Howard           e l h @ o u t r e a c h n e t w o r k s . c o m
------------------------------------------------------------------------
www.OutreachNetworks.com                                    313.297.9900
------------------------------------------------------------------------
                    Advocate of the Theocratic Rule

---------------------------------------------------------------------
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