mirror of
https://github.com/xahys/testlucee
synced 2026-04-08 18:07:38 +03:00
Update index.cfm
This commit is contained in:
parent
dec1f1d81e
commit
a0d542a760
20
index.cfm
20
index.cfm
@ -9,26 +9,6 @@
|
|||||||
<body>
|
<body>
|
||||||
<h2>Hello, Lucee! Today's date is #dateFormat(now(), 'yyyy-mm-dd')#.</h2>
|
<h2>Hello, Lucee! Today's date is #dateFormat(now(), 'yyyy-mm-dd')#.</h2>
|
||||||
<h3>Users List:</h3>
|
<h3>Users List:</h3>
|
||||||
<!--
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th>ID</th>
|
|
||||||
<th>Name</th>
|
|
||||||
<th>Email</th>
|
|
||||||
</tr>
|
|
||||||
<cfquery name="getUsers" datasource="pg">
|
|
||||||
SELECT id, name, email FROM users
|
|
||||||
</cfquery>
|
|
||||||
|
|
||||||
<cfloop query="getUsers">
|
|
||||||
<tr>
|
|
||||||
<td>#getUsers.id#</td>
|
|
||||||
<td>#getUsers.name#</td>
|
|
||||||
<td>#getUsers.email#</td>
|
|
||||||
</tr>
|
|
||||||
</cfloop>
|
|
||||||
</table>
|
|
||||||
-->
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
</cfoutput>
|
</cfoutput>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user