本文整理匯總了PHP中Objects::addDSObject方法的典型用法代碼示例。如果您正苦於以下問題:PHP Objects::addDSObject方法的具體用法?PHP Objects::addDSObject怎麽用?PHP Objects::addDSObject使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Objects
的用法示例。
在下文中一共展示了Objects::addDSObject方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: database
$type = "AA4STAR";
} else {
if ($type == "8STAR") {
$type = "AA8STAR";
}
}
}
}
}
}
}
}
}
if ($previous != $object) {
if ($object != "Eridanus Cluster" && $object != "Coalsack" && $object != "Lg Magellanic Cl" && $object != "Wild's triplet" && $object != "Zwicky's triplet" && $object != "Pal 9" && $object != "NGC 4153") {
$obj->addDSObject($object, $other, $type, $con, $ra, $dec, $mag, $subr, $size_max, $size_min, $pa, $bchm, "SAC7.2");
}
$previous = $object;
}
}
}
fclose($fh);
include_once "../lib/database.php";
$db = new database();
$db->login();
$sql = "delete from objects where name = \"NGC 4560\";";
$run = mysql_query($sql) or die(mysql_error());
$sql = "delete from objects where name = \"NGC 4610\";";
$run = mysql_query($sql) or die(mysql_error());
$sql = "delete from objects where name = \"NGC 4407\";";
$run = mysql_query($sql) or die(mysql_error());