13

Online insert MySQL rows by perl-script

view full story
linux-howto

http://www.unix.com – Hello, Met a problem when I tried to insert rows to MySQL database from an old book that fits my learning level (MySQL and Perl for the Web, by Paul DuBois, 2001). First, under mysql console I created a database: webdb and the table: todo. Then I draft the perl-cgi script to have online page. The purpose is to input data to my database through webpage, as learning. Now the problem is: everything seems running, but the table is not updated as I insert data through online form. Please give advice and I want to make progress of this self-learning. Thank you very much! Here is my code: Code: (HowTos)