Gossamer Forum
Home : Products : Gossamer Links : Discussions :

add link to data

Quote Reply
add link to data
I use this code to insert new ID to the links table
sub {
my $today = GT::Date::date_get();
$DB->table('Links')->insert(
Add_Date => \"$today",
Title => "test test",
Mod_Date => \"$today",
LinkOwner => "admin",
URL => "http://www.site.com" ) or return $GT::SQL::error;
return;
}

Who can I insert the category of this link in the CatLinks, I can use a default category?

Last edited by:

Andy: Nov 4, 2009, 8:01 AM
Subject Author Views Date
Thread add link to data nir 3514 Nov 4, 2009, 6:12 AM
Thread Re: [nir] add link to data
Andy 3425 Nov 4, 2009, 7:12 AM
Thread Re: [Andy] add link to data
nir 3353 Nov 9, 2009, 2:30 AM
Post Re: [nir] add link to data
nir 3343 Nov 9, 2009, 2:57 AM