Well first of all, your commas should be periods to conctenate.
echo "Image :",$image;
should be
echo "Image : " . $image . "";
and
echo "Filesize : ",$filesize2;
should be
echo "Filesize : " . $filesize2 . "";
and I think
$file_size2 = round($filesize2 / 1024 * 100) / 100 . "";
should be something like
$file_size2 = round(($filesize2 / 1024 * 100) / 100) . "";
$result = mysql_query("INSERT INTO divebase_img values('','$data','$image','$filesize')");
should be
$result = mysql_query("INSERT INTO divebase_img (field1, date, image, filesize) VALUES('','$data','$image','$filesize')");
// adjust field1, date, image, and filesize to whatever your field names are
and
if (!result) {
should be
if (!$result) {
// don't forget the dollar sign to check for variable result
Cgraz