Re: question ! show binary

From: Date: Wed, 31 Jan 2001 21:26:28 +0000
Subject: Re: question ! show binary
References: 1  Groups: php.db php.general 
Request: Send a blank email to php-general+get-37541@lists.php.net to get a copy of this message
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 <hyui@onyx.dti.ne.jp> 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: > php-db-unsubscribe@lists.php.net > For additional commands, e-mail: > php-db-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > __________________________________________________ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/

« previous php.general (#37541) next »