Look at the data output tags
(http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000199.htm#2459638),
and more specifically the <cfoutput> tag
(http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000309.htm#1101659).
Everything you are asking is stuff that should be found in a matter of
moments. I, like most others here, love to help, but I do not like to do
someone's work and research for them unless I'm being paid to do so. You're
new to CF, and that is wonderful. You will find that it's the easiest
language to learn, and the community is warm and receptive to "newcomers".
My only point is that you need to show us that you're making the effort.
Maybe something like...
"You know, I just can't seem to figure this out. What I'm trying to do is:
{insert explanation}. Here's the code that I've tried, but I must be
missing something somewhere {insert code snippet - only the relevant part}.
I've read such and such article here {insert link}, but it's still a bit
over my head. Any help would be appreciated. Thanks."
Hope that makes sense. As much as it may sound otherwise, I really am
trying to help you to learn.
-----Original Message-----
From: Jason Slack [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 11, 2006 3:36 PM
To: CF-Talk
Subject: Re: RE: Data from MySQL
I have been searching on LiveDocs for an hour and not finding what I need. I
guess I dont know how to formulate my query into words that get me the right
answer.
-Jason
On 11/11/06, Matt Quackenbush <[EMAIL PROTECTED]> wrote:
> http://livedocs.macromedia.com/coldfusion/7/index.html
>
> LiveDocs is your friend. Arguably your best friend. :-)
>
>
>
> -----Original Message-----
> From: Jason Slack [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 11, 2006 3:13 PM
> To: CF-Talk
> Subject: Data from MySQL
>
> So I am doing good on my 2nd day with CF.
>
> How does one get data from MySQL? I can write the query and get a
> resultset back, but how do I get inside the resultset?
>
> Like say I query a table called Locations and gets Locationname in return.
>
> How do I use Locationname values in my app? I want the value from the
> record that is returned.
>
> I have everything written (query, etc) just need to get the data out
> of the row that is returned.
>
> Thanks,
>
> -jason
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260023
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4