Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Andy] Deleting a table from the database?

Quote Reply
Re: [Andy] Deleting a table from the database? In reply to
Hi. I'm having a problem here Unsure I keep getting a weird error...but can see no reason for getting it! The code is;

Code:
my $relation = $DB->table('News');
$relation->update ( { title => "$title",
short => "$short",
full => "$full",
date => "$date" },
date => "$date" ) or die ("Unable to update. Reason: $GT::SQL::error");

and the error given is;

Quote:
A fatal error has occured:

Can't use string ("1029012257") as a HASH ref while "strict refs" in use at (eval 3) line 42.

Please enable debugging in setup for more details.

Any help is much appreciated.

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!
Subject Author Views Date
Thread Deleting a table from the database? Andy 6098 Aug 10, 2002, 4:23 AM
Thread Re: [Andy] Deleting a table from the database?
QooQ 5936 Aug 10, 2002, 4:32 AM
Thread Re: [QooQ] Deleting a table from the database?
Andy 5869 Aug 10, 2002, 4:41 AM
Thread Re: [Andy] Deleting a table from the database?
QooQ 5940 Aug 10, 2002, 4:48 AM
Post Re: [QooQ] Deleting a table from the database?
Andy 5906 Aug 10, 2002, 6:08 AM
Thread Re: [Andy] Deleting a table from the database?
Andy 5887 Aug 10, 2002, 7:57 AM
Thread Re: [Andy] Deleting a table from the database?
Paul 5891 Aug 10, 2002, 8:01 AM
Thread Re: [Paul] Deleting a table from the database?
Andy 5918 Aug 10, 2002, 8:08 AM
Thread Re: [Andy] Deleting a table from the database?
Paul 5872 Aug 10, 2002, 8:10 AM
Thread Re: [Paul] Deleting a table from the database?
Andy 5849 Aug 10, 2002, 8:14 AM
Thread Re: [Andy] Deleting a table from the database?
Andy 5835 Aug 10, 2002, 9:30 AM
Thread Re: [Andy] Deleting a table from the database?
Paul 5852 Aug 10, 2002, 9:34 AM
Thread Re: [Paul] Deleting a table from the database?
Andy 5858 Aug 10, 2002, 9:39 AM
Post Re: [Andy] Deleting a table from the database?
Paul 5838 Aug 10, 2002, 9:46 AM