<sqltemplate database="myDB"
tables="news" type="display"
limit="5">
<table border>
<sqlrow>
<tr><th>Name</th><th>News
Title</th><th>E-mail</th></tr>
<tr><td><sqlfield
name="name"></td>
<td><sqlfield
name="title"></td>
<td><sqlfield
name="email"></td>
</tr>
</sqlrow>
</table>
Name: <sqlfield name="name" isSearch="true">
<sqlaction type="search">
<br><sqlnavigation>
</sqltemplate>
Name | News Title | |
---|---|---|
Daniel | First Update! | my_email@email.com |
Sarah | Second Update! | her_email@mail.com |
Magic | Johnson Update! | magic@the-gathering.com |
Terry | Discworld Update! | pratchett@rocks.com |
Boutros | I Can't Pronounce My Name | hgfetbcvnb@serbia.com |
Name | News Title | |
---|---|---|
Daniel | First Update! | my_email@email.com |
Daniel | Site Updated. | my_email@email.com |
Daniel | E-mail change. | daniel@sparse.com |
Daniel | Now you can search with Sparse! | daniel@sparse.com |
Daniel | More updates to come. | daniel@sparse.com |
<sqlsearch names="name, email" />
Name: <sqlfield isSearch="true" name="name"
/> Email:
<sqlfield isSearch="true" name="email" />
<sqlaction
type="search" />
Previous: Referencing Tags | Searching | Next: Sorting