Ask a Question related to Coldfusion Database Access, Design and Development.
-
quiero mas #1
problem pulling text file from database
Please keep it simple - noob in the house
Hi everyone - im trying to display a text file that i have save as a
hyperlink.
I cant seem to get the contents of the file just the hyperlink address
<cfif isdefined("id")>
<cfif isnumeric(id)>
<cfquery name="qGetItem" datasource="#application.ds#">
SELECT *
FROM oshimi_products
WHERE frn_category_id = frn_category_id</cfquery>
<cfif qGetItem.recordcount gt 0>
<table class="symtable"width="360px" >
<cfoutput query="qGetItem">
<tr>
<td>#ProductName#</td>
<td>#qGetItem.ProductDescription#</a></td>
</tr>
</td>
</cfoutput>
</table>
</cfif>
</cfif>
</cfif>
* the product description contains the hyperlink to the file.
Any ideas would be most appreciated
Mark
quiero mas Guest
-
Pulling from Database
ok, Im a newbie but... I have an Access DB with products set up in different categories. On my index page, I want to pull the names of the... -
Pulling BLOBs from Database
Hi guys, Any help here would be most appreciated. I have a table, one field of which is type BLOB. I wish to extract this data using a Coldfusion... -
Javascript pulling from ColdFusion Database
I'm having an issue here. I have a javascript that adds rows when a button is pressed, but I also have a dropdown box that reads from the database.... -
Problem with Access Database With Linked Text File
Hi, I'm using an Access 2000 database with my ASP application, and the db has a link to a text file. Previously, the text file and the db were... -
Pulling images out of a database
Andre: Don't store the images. Store the image names and just upload the images. Link to them using the image name. There are extensions... -
vkunirs #2
Re: problem pulling text file from database
Hi
* the product description contains the hyperlink to the file.
what do you mean by this word. do you mean to say that you want to display
a link to the file or you want to display the file contents as text which will
have the link?
can you post it clearly?
if the description is having the link then display it directly like this.
<td><a
link="#qGetItem.ProductDescription#">#qGetItem.Pro ductDescription#</a></td>
vkunirs Guest
-
quiero mas #3
Re: problem pulling text file from database
Hi
In my database there is a field which has links to articles - these articles
have been saved as simple text.
When a user selects the month in which the article corresponds to i want the
text from the article to be displayed in a cfm page so that the user can read
it.
example
archive page
months - october november december
choose - october
october 's article is displayed.
Im sorry i wasnt very clear
Thank Mark
quiero mas Guest
-
efecto747 #4
Re: problem pulling text file from database
To retrieve the contents of a file, you could use the cfcontent tag - If you
don't know how to use this tag have a look on LiveDocs for more information:
[url]http://livedocs.macromedia.com/coldfusion/[/url]
cheers.
efecto747 Guest
-
quiero mas #5
Re: problem pulling text file from database
Thanks for the advice - actually I found a tutorial at easycfm.com which seems to be what i need - if i run into trouble I be posting again.
Thanks for the Advice
Mark
quiero mas Guest



Reply With Quote

