Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
Products
:
Gossamer Links
:
Discussions
:
syntax for condition not equal
Previous Thread
Next Thread
Print Thread
View Threaded
Dec 11, 2011, 1:17 AM
nir
User
(396 posts)
Dec 11, 2011, 1:17 AM
Post #1 of 2
Views: 2720
Shortcut
syntax for condition not equal
How can I change this code that the Mod_Date will no
t
be equal to temp1
$cond->add('Mod_Date' => $temp1);
I mean ifnot or Ne but for global.
Dec 11, 2011, 1:53 AM
Andy
Veteran
/ Moderator
(18436 posts)
Dec 11, 2011, 1:53 AM
Post #2 of 2
Views: 2654
Shortcut
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
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!
Previous Thread
Next Thread
Print Thread
View Threaded