本文整理汇总了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());