Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Is it possible to have something eq nothing?

Quote Reply
Is it possible to have something eq nothing?
I'm attempting to show something on the details page of the individual links.

I have something like <%if textdeck eq ''%>No Text Deck submitted by <$LinkOwner%><%else%><%Plugins::ULTRAGlobals::NL_2_BR($textdeck)%><br><br><%endif%>

When I build the links pages, I get:
A fatal error has occured:
Illegal modulus zero at .....
Is there a way of doing what I'm attempting to do, which is basically if the textdeck field in the database is empty, then write on the page, "No Text Deck submitted by LinkOwner, otherwise print the textdeck field to the detailed page.

Thanks,

Just as a guess, I probably am trying to do something backwards or rather working in the negative when I should be working in the positive but have no idea how to switch that around.
Quote Reply
Re: [Westin] Is it possible to have something eq nothing? In reply to
Not sure, but could be to do with:

<$LinkOwner%>

Notice the $

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: [Westin] Is it possible to have something eq nothing? In reply to
Won't "ifnot" do the same thing?