Why on the earth would you do that? It always happens to me associate images with my databases but I never actually insert them in. I just *copy* these graphics to somewhere on my server (or often even on in a webroot) and give them a logic name. So then when you need to call a graphic you do ( in case the images are in the webroot ): <? $img_dir = '/images'; $img_path = $img_dir.$id_from_db . '.gif'; if(file_exests($DOCUMENT_ROOT.$img_path)) echo '<IMG SRC="' . $img_path . '">'; ?> then here you can eve find out what are they look like ... GetImageSize() etc ... Hope this is something that helps. Cheers, Maxim Maletsky -----Original Message----- From: Yui Hiroaki [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 2:12 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] question ! show binary 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 General 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] -- 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