Hi... should be following bit in read read as it does in the GT::SQL::Condition documentation ?
'FirstName', 'LIKE', 'Alex%',
'LastName', 'LIKE', 'Krohn%'
);
$cond->bool('or');
my $cond2 = GT::SQL::Condition->new(
$cond1,
'Employer', '=', 'Gossamer Threads'
);
Should that not say $cond ?
Just thought I would let you know, cos it looks wrong to me :p
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:
my $cond = GT::SQL::Condition->new( 'FirstName', 'LIKE', 'Alex%',
'LastName', 'LIKE', 'Krohn%'
);
$cond->bool('or');
my $cond2 = GT::SQL::Condition->new(
$cond1,
'Employer', '=', 'Gossamer Threads'
);
Should that not say $cond ?
Just thought I would let you know, cos it looks wrong to me :p
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!