[GENERAL] Postgres' DBI(Pg) problems.

1999-01-18 Thread R\imi Lehn
Your script worked for me (I skipped everything related to forms-lib), but : - /* */ C-style comments are not allowed by perl (line #2) - you should $sth->finish() and $dbh->disconnect() at the end of your script to avoid warnings ("Database handle destroyed without explicit dis

[GENERAL] Postgres' DBI(Pg) problems.

1999-01-15 Thread Kevin Lo
Hi, I'm trying to use Postgres DBI, which is Pg, to write a simple cgi script. But I encounter a problem, hope anyone can tell me how to do, thanks. For example: I have two input forms in ex.html, which names are 'id' and 'student'. I want to insert them into 'course' table in student database b