Hi All!
Let me first say that this forum has been most helpful in my moments of rage when I'm tearing my hair out of my head trying to figure things out! So thank you for all your support!
My problem: I know this is not difficult but I'm struggling with the best method.
I have a SQL database, I'm using Cold Fusion. All I want to do is retrieve the data with each record and show an image along with it, a thumbnail next to it-- I hear the best way is to put the path in the SQL table to the image-- Can anyone show me an example of how to do this? I already have a database and tables and what not, I'm assuming I add another field called "pic" or "img" or something- then put a path in there to my images-- but I'm confused on how to call this out of the database-- my query as of right now is:
<CFQUERY datasource="MYDSN" NAME="GetDocs">
SELECT *
FROM tblTechCat a, tblTechContent b
WHERE a.strDptID = b.strDptIDfk
ORDER BY strDptName, strDptIDfk
</CFQUERY>
How do I retrieve data as well as images using a SQL database and Cold Fusion?? HELP!
Lisa
Let me first say that this forum has been most helpful in my moments of rage when I'm tearing my hair out of my head trying to figure things out! So thank you for all your support!
My problem: I know this is not difficult but I'm struggling with the best method.
I have a SQL database, I'm using Cold Fusion. All I want to do is retrieve the data with each record and show an image along with it, a thumbnail next to it-- I hear the best way is to put the path in the SQL table to the image-- Can anyone show me an example of how to do this? I already have a database and tables and what not, I'm assuming I add another field called "pic" or "img" or something- then put a path in there to my images-- but I'm confused on how to call this out of the database-- my query as of right now is:
<CFQUERY datasource="MYDSN" NAME="GetDocs">
SELECT *
FROM tblTechCat a, tblTechContent b
WHERE a.strDptID = b.strDptIDfk
ORDER BY strDptName, strDptIDfk
</CFQUERY>
How do I retrieve data as well as images using a SQL database and Cold Fusion?? HELP!
Lisa