Lines 148-155
my $author3 = 'Author 3';
Link Here
|
148 |
|
148 |
|
149 |
$query = ' |
149 |
$query = ' |
150 |
INSERT INTO biblio |
150 |
INSERT INTO biblio |
151 |
(title, author) |
151 |
(title, author, datecreated) |
152 |
VALUES (?,?)'; |
152 |
VALUES (?,?, NOW())'; |
153 |
$insert_sth = $dbh->prepare($query); |
153 |
$insert_sth = $dbh->prepare($query); |
154 |
$insert_sth->execute( $title1, $author1 ); |
154 |
$insert_sth->execute( $title1, $author1 ); |
155 |
$insert_sth->execute( $title2, undef ); |
155 |
$insert_sth->execute( $title2, undef ); |
156 |
- |
|
|