Try changing;
my $sth = $table->select( { LinkID => $ID } ) || return "";
to;
my $sth = $table->select( { LinkID => $ID } ) or return $GT::SQL::error;
Whats that do?
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!
my $sth = $table->select( { LinkID => $ID } ) || return "";
to;
my $sth = $table->select( { LinkID => $ID } ) or return $GT::SQL::error;
Whats that do?
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!