Gossamer Forum
Home : Products : Gossamer Links : Discussions :

<%endif%> question

Quote Reply
<%endif%> question
Hey there,

How do I make it so that if there is no data for the AmateurGalleries, then the form will not show up on the page? Here is what I have now, but the text area box shows up whether or not there is any data entered.

<textarea rows="6" name="S1" cols="40"><%if AmateurGalleries%><%AmateurGalleries%><%endif%></textarea></td>


TIA
Quote Reply
Re: [Chrisp] <%endif%> question In reply to
Try;

Code:
<%if AmateurGalleries%>
<textarea rows="6" name="S1" cols="40"><%if AmateurGalleries%><%AmateurGalleries%><%endif%></textarea></td>
<%endif%>

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] <%endif%> question In reply to
Thanks Andy. Perfect!