|
Variables |
| $link = getdb() |
| $imagename = "$image_row[filename]" |
| $image_data = "$install_path/$imageloc/listings/$id"."_"."$imagename" |
| $imagedata = getimagesize("$image_data") |
| $imageheight = $imagedata['1'] |
| $update_query = "update ".$table_prefix."tbl_Files set height = '$imageheight', width = '$imagewidth' where ".$table_prefix."id_files = '$id'" |