Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Condition statement help.

Quote Reply
Condition statement help.
Hi

I am trying to create a condition to limit the pages built by detailed..
The pages I want to be bult are only for links those have a value in a field called "Article"..

In sub build_detailed I have added:

$cond ||= new GT::SQL::Condition;
$cond->add ('Article', '=', 'Not Null');

That does not work!!

Any ideas will be great?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Condition statement help. In reply to
$cond->add ('Article', 'NOT LIKE', '');

That should work :)

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] Condition statement help. In reply to
Thanks

That works fine.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory