Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 463

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
</tr>
<tr>
<th>Name</th>
<th>Department</th>
<th>E-Mail</th>
<th>Phone</th>
</tr>
<cfoutput query="results">
<tr>
<td>#cn#</td>
<td>#listFirst(ou)#</td>
<td><a href="mailto:#mail#">#mail#</a></td>
<td>#telephonenumber#</td>
</tr>
</cfoutput>
</table>
</cfif>
</body>
</html>
Change the
attribute from ldap.airius.com to the name of your installation of the Airius database.
2
server
3
Save the page as cfldap.cfm and run it in your browser.
Reviewing the code
The following table describes the code:
Code
<form action="cfldap.cfm" method="POST">
<input type="text" name="name"><br><br>
<input type="submit" value="Search">
</form>
Description
Uses a form to get the name or name fragment to search for.
Last updated 1/20/2012
458

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents