CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Displaying an image from a MySQL DB in PHP

Print topic Send  topic

Author Message
Frank S.
Posted: 09/30/2002, 11:24 AM

Hi Folks,
I know this has been discussed before but I can't seem to make this work
again. Using CC, PHP, MySQL.
My image field is named "image1".
The "Before Show" code in Events is:

$fldimage1 = "<img src=\"http://domainname.com/images/tours/$fldimage1\"
width=\"320\" height=\"240\" border=\"1\">";

The path to the image is correct because the page is displaying the name of
the image, ie. getaway.jpg.
The field type is set to "label". In the form properties it is set as text
and html is checked.
Can anyone suggest what I might be missing?? I used this code in the past,
it works fine on that site. I can't seem to find the problem in this one.
Thanks in advance,
Frank


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.