Not a Member Yet,
Click here to Register
How do you like the new design?

ID: 72
Viewed: 3719
Added: Feb 04, 2002
Snippet uploaded by: snippet
Written By: Dr. Web
Demo: Sorry, no demo

User Rated at: 0 Stars
Rate This:

Thank you for your vote. Please wait...

It appears you already voted for this snippet

It appears your vote value was empty

lets say the database is made up of two columns.... name and age.

name: age:
joe 29
Megan 21
bill 77

then you set up a .cfm page that runs a query against the database, AND outputs the results:



 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--- query --->
<cfquery name="myStuff" datasource="wdbase" username="your username" password="the password">
select * from wdbase.dbo.tablename

<table width=50%>
<!--- output from query --->

<!--- loop through every record returned in the query --->
<cfloop query="myStuff">
<!--- after looping through all the results continue--->


No Comments to show

Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.

Replying to a Comment...

Adding your comment. Please wait...

Thanks for adding your comment!. After further review it will be added.

There was a problem adding your comment. Please try again.

Please complete all the fields in the form before sending.

© 2002 - 2020 All Rights Reserved. Conditions