Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [nir] add link to data: Edit Log

Here is the list of edits for this post
Re: [nir] add link to data
Try:

$DB->table('CatLinks','Links')->insert(
'CatLinks.CategoryID' => 1234,
Add_Date => $today,
Title => "test test",
Mod_Date => $today,
LinkOwner => "admin",
URL => "http://www.site.com" ) or return $GT::SQL::error;
return;
}

BTW, no need for:

\"$today"

..just use:

$today

Wink

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!

Last edited by:

Andy: Nov 4, 2009, 8:01 AM

Edit Log: