Gossamer Forum
Home : Products : Gossamer Links : Discussions :

syntax for condition not equal

Quote Reply
syntax for condition not equal
How can I change this code that the Mod_Date will not be equal to temp1
$cond->add('Mod_Date' => $temp1);
I mean ifnot or Ne but for global.

Quote Reply
Re: [nir] syntax for condition not equal In reply to
This should do it:

Code:
$cond->add('Mod_Date','<=>',$temp1);

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates