in reply to On Handling Text (Blob) Column Types in MySQL/CGI
You're missing that $sth doesn't contain a number:
$sth->execute($text,$node_id);
Also, there are some situations (such as fields with multiple values) where Vars() will cause you problems. The way you are using it, you are better off writing those two lines as:
my $node_id = $c->param('nodeid'); my $text = $c->param('textdata');
| We're not surrounded, we're in a target-rich environment! |
|---|
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: On Handling Text (Blob) Column Types in MySQL/CGI
by cluka (Sexton) on Apr 03, 2003 at 22:45 UTC | |
by jasonk (Parson) on Apr 03, 2003 at 22:57 UTC |