The way you have it now, ur just storing the path to
the gif.  from the form field, use <input type="file"
name="file">
then in the insert area use:
$result = mysql_query("insert into (filename) VALUES
('$file')")

James
--- Yui Hiroaki <[EMAIL PROTECTED]> wrote:
> HI!
> 
>       I am using PHP in mySQL. I create table in database
> and insert
> 'binary'(*.gif).
> But I do not know how to use this binary using PHP
> and show website. Please
> help me.
> 
> 
> $)create table xxx (col longlob);
> $)insert into xxx values("image\yyy.gif");
> 
> 
> I want to display :yyy.gif in html
> 
> 
> 
> Thank you
> yui
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to