if ($width || $height) { $Attach1 = "$width"; $Attach2 = "$height"; } else { $Attach1 = ""; $Attach2 = ""; } ?>