test
----- Original Message -----
From: "Peter Theobald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 11, 2000 10:42 PM
Subject: Re: Announcing: CF_OUTPUTPG - the example file


> Sorry - any of you with HTML based email didn't see the source code, you
saw the OUTPUT (kind-of)
>
> Here again is the example file:
>
> <pre>
> <!---
> // Testpg.cfm
> // Peter Theobald 8/10/2000
> // [EMAIL PROTECTED]
> //
> // This file is a simple example of using the CF_OUTPUTPG module
> // Make sure outputpg.cfm is in the same directory or in your CustomTags
directory
> --->
>
> <!---
> // replace this with your own favorite query
> // make it 3 columns if you want to keep
> // all the formatting the same as whats already below.
> --->
> <cfquery name="q_users" datasource="#MyDSN#">
>         select UserName, UserType, Email
>         from Users
> </cfquery>
>
> <html><body>
>
> This is a test of custom tag CF_OUTPUTPG.<p>
> <cfparam name="url.startrow" default="1">
>
> <table border=1
width=50%><tr><td>User</td><td>Type</td><td>Email</td></tr>
>
> <cf_outputpg query="q_users" startrow="#url.startrow#">
> <tr><td>#UserName#</td><td>#UserType#</td><td>#Email#</td></tr>
> </cf_outputpg>
>
> </table>
>
> <table border=0 width=50%>
> <tr><cfoutput>
> <td><a href="testpg.cfm?startrow=#outputpg.prevstart#">PREV PAGE</a></td>
> <td align=center>Page #outputpg.thispage# of #outputpg.numpages#</td>
> <td align=right><a href="testpg.cfm?startrow=#outputpg.nextstart#">NEXT
PAGE</a></td>
> </cfoutput></tr></table>
> </body></html>
>
> </pre>
>
>
> --------------------------------------------------------------------------
-
> Peter Theobald, Chief Technology Officer
> LiquidStreaming http://www.liquidstreaming.com
> [EMAIL PROTECTED]
> Phone 1.212.545.1232 Fax 1.212.679.8032
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to