Gossamer Forum
Home : Products : Links 2.0 : Discussions :

How can i do this?

Quote Reply
How can i do this?
Well...
in my search i put a table into the html code to tell the number of pages... in the search result

like that:

<table>
<tr><Td>
</td></tr>
<tr>
<td>Pages : <%next%>
</td>
</tr>
</table>


But if the Next pages doesn't exist, will appear only "Pages: "

and i want to appear this code

"<tr>
<td>Pages : <%next%>
</td>
</tr>
"
Only if existe "NEXT" results..

i try to put
"
<%if next%>
<tr>
<td>Pages : <%next%>
</td>
</tr>
<%endif%>
"

But didn't work...
what i have to do!?

Thanks

------------------
--

Rafael Faria
Flash World - Professional Resources
Quote Reply
Re: How can i do this? In reply to
Try this:


<tr>
<td><%if next%>Pages : <%next%>
<%endif%>
</td>
</tr>


------------------
------------------------------------------
Lavon Russell
LookHard! Search
<url>http://www.lh.yi.org</url>