( PGRES_CONNECTION_OK eq $conn->status )
and print "Pg::connectdb ........... ok\n"
or die "Pg::connectdb ........... not ok: ", $conn->errorMessage;
( PGRES_CONNECTION_OK eq $conn->status )
and print "Pg::connectdb ........... ok\n"
or die "Pg::connectdb ........... not ok: ", $conn->errorMessage;
print $conn->errorMessage."\n";
$sql="INSERT INTO images (title,date,place,author,to_img_layout,to_img_type,is_classified,to_media_folder,to_img_color,comment,webdb_create,img_width,img_height,image_data,icon_data) ".
"VALUES ('".$titel."','20010109','".$ort.
print $conn->errorMessage."\n";
$sql="INSERT INTO images (title,date,place,author,to_img_layout,to_img_type,is_classified,to_media_folder,to_img_color,comment,webdb_create,img_width,img_height,image_data,icon_data) ".
"VALUES ('".$titel."','20010109','".$ort.
- "','Castor X4','".$layout."','1','0','3','2','".$comment."',now(),'".$img_width."','".$img_height.
+ "','huh','".$layout."','1','0','3','2','".$comment."',now(),'".$img_width."','".$img_height.