in reply to Re^6: inserting and showing data from an MS Access database
in thread inserting and showing data from an MS Access database
bit at the top to useread(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); @pairs = split(/&/, $buffer); foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; $FORM{$name} = $value; }
I seem to remember getting errors without adding something else.$sth_ins->execute( param('firstname'), param('lastname'), param('state +'), param('country') );
or something like that. I may be wrong about that though.my $name = $query->param($FORM{name});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: inserting and showing data from an MS Access database
by Anonymous Monk on Apr 12, 2006 at 22:50 UTC |