stanleyscup has asked for the wisdom of the Perl Monks concerning the following question:
Here's the error :#=== Top portion #!/usr/bin/perl -w use strict; use DBI; use CGI; #=== rest of code $tmpStr = "INSERT INTO employee (EMPLOYEE.ID, EMPLOY.FIRST.NAME, EMPLO +Y.LAST.NAME, ADDRESS.LINE.1, ADDRESS.LINE.2, ADDRESS.LINE.3) " . "VALUES ('1000', '".$q->param("EMPLOY.FIRST +.NAME")."', '".$q->param("EMPLOY.LAST.NAME")."', '". $q->param("ADDRESS.LINE.1")."', '".$q->para +m("ADDRESS.LINE.2")."', '".$q->param("ADDRESS.LINE.3")."')"; $queryObj = $db_handle->prepare($tmpStr); $queryObj->execute or die "Could not execute command";
2006-09-09 Retitled by Arunbear, as per Monastery guidelines
Original title: 'MySQL'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error adding a record into a MySQL table: 'Unknown column ...'
by Joost (Canon) on Sep 09, 2006 at 16:40 UTC | |
|
Re: Error adding a record into a MySQL table: 'Unknown column ...'
by merlyn (Sage) on Sep 09, 2006 at 16:39 UTC | |
|
Re: Error adding a record into a MySQL table: 'Unknown column ...'
by blue_cowdawg (Monsignor) on Sep 09, 2006 at 17:28 UTC | |
|
Re: Error adding a record into a MySQL table: 'Unknown column ...'
by jZed (Prior) on Sep 09, 2006 at 16:43 UTC | |
|
Re: Error adding a record into a MySQL table: 'Unknown column ...'
by stanleyscup (Novice) on Sep 09, 2006 at 18:01 UTC | |
|
Re: Error adding a record into a MySQL table: 'Unknown column ...'
by stanleyscup (Novice) on Sep 09, 2006 at 17:54 UTC |