CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 calling an IMG link from DB

Print topic Send  topic

Author Message
Henry
Posted: 06/14/2002, 9:59 AM

My question is very basic
I cannot find answers to 2 problems
How can I display in a page an IMG from a table that contains all my img links
am I suppose to hand code the PHP needed ? or is there a way to have CC generating the needed code ( I have setup the DB and test my connection)

regardindgStyle I think it needs to be hand coded correct?

another word I know how hand code any site, but I cannot really figure how using CC to build from scratch a site

thank you
Nicole
Posted: 06/15/2002, 2:28 AM

Henry,
I see you're newbie to CC, so I advice you to read CC related tutorials and may be go through one of them (e.g. Event Management tutorial) that explains step by step how to create site within CC. All tutorials are available at:
http://support.codecharge.com/tutorials.asp

Please refer to BookStore example to find how to display images on the forms.
As for styles you can use predefined ones (select the style under Site/Style section). In case you want to use custom one try to edit and save one of the existing styles.

Ron
Posted: 06/15/2002, 4:19 PM

Hi,

put the link in the database with full html syntax :
<img src="./some_image.jpg">

In CCS grid make sure the label is set for html and that's it.

Would be nice if CCS had a labeltype "image" wich would ad this code automalicly.
Nicole
Posted: 06/18/2002, 12:10 AM

Ron,
CCS provides image and image_url type fields. You do not need any custom code when using them, just select table field that stores image name (and path is necessary)

   


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

Web Database

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.