|
Good to know.
So according to Richard, the IAU is Catholic Mass matters
|
|
|
|
|
No, all planets are Catholic - they have Mass.
|
|
|
|
|
Hey, I have mass, but I'm neither Catholic nor a planet.
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
catholic (small 'c') - 'including a wide variety of things; all-embracing'.
So everything is catholic except light, which has no mass. They were right all along...
|
|
|
|
|
obermd wrote: they have Mass.
But do they celebrate it?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Nothing says "Oh we are a planet ruled by a Celestial Body" now by eating some crackers and wine.
|
|
|
|
|
So, not a planet nor a dwarf planet according to the IAU, but maybe a small Solar System body, defined as "... all objects orbiting the Sun that are too small (not sufficiently massive) to satisfy the definition of planet or dwarf planet."
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
Well technically, that includes you and me, doesn't it? We orbit the sun via a complex interaction with the spinning Earth ... given that "orbit" is defined as:
Quote: ... the curved path, usually elliptical, described by a planet, satellite, spaceship, etc., around a celestial body, such as the sun.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
So, you're suggesting we're all Moonies.
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
Lunatics!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
A Small Solar System Body (SSSB) has an orbit centred on the Sun. A natural satellite (such as the Moon) has an orbit centred on a planet, dwarf planet, or SSSB. We have no orbit independent of the Earth, therefore we fall into neither category - from the astronomical perspective, we are merely parts of the Earth.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
|
It is now what is called a trojan satellite.
It orbits the same orbit as earth at its Lagrange point. (which is one of two spots a planet's orbital can share. Either ahead or behind of the planet.)
|
|
|
|
|
Except that JWST is orbiting L2, which is 1.5 million kilometers straight out from the Earth with the Earth directly between it and the Sun. I thought the Trojan points were specifically the two stable L points at +/- 60 degrees from the planetary body.
|
|
|
|
|
Woo hoo! More to learn! Thanks for the pointer!
|
|
|
|
|
You are quite right. Originally Trojan Points were defined as being L4 and L5 of the Jupiter solar orbit, but later came to be adopted for all planet/sun configurations at the L4 and L5 points. Thus, the JWST is not a Trojan.
|
|
|
|
|
|
Container with a point to make (6)
"Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Container with a point to make (6)
Container = Crate
with a point = E
CREATE
|
|
|
|
|
Well done David YAUT
"Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Parse error: syntax error, unexpected variable "$query" in C:\xampp\htdocs\sys\functions.php on line 10
here is the code -
<?php
function check_login($con)
{
if(isset($_SESSION['user_id']))
{
$id = $_SESSION["user_id"]
$query = "select * from users where user_id = '$id' limit 1";
$result = mysqli_query($con,$query);
if($result && mysqli_num_rows($result) > 0)
{
$user_data = mysqli_fetch_assoc($result);
return $user_data;
}
}
}
|
|
|
|
|
You should read the posting rules, the top entry in this list. You could read there that this is the wrong place for your question.
|
|
|
|
|
This forum is the wrong place to post this, as it says at the top of the page.
The right place is here: Ask a Question[^]
And don't do SQL like that: Never concatenate strings to build a SQL command. It leaves you wide open to accidental or deliberate SQL Injection attack which can destroy your entire database. Always use Parameterized queries instead.
When you concatenate strings, you cause problems because SQL receives commands like:
SELECT * FROM MyTable WHERE StreetAddress = 'Baker's Wood' The quote the user added terminates the string as far as SQL is concerned and you get problems. But it could be worse. If I come along and type this instead: "x';DROP TABLE MyTable;--" Then SQL receives a very different command:
SELECT * FROM MyTable WHERE StreetAddress = 'x';DROP TABLE MyTable; Which SQL sees as three separate commands:
SELECT * FROM MyTable WHERE StreetAddress = 'x'; A perfectly valid SELECT
DROP TABLE MyTable; A perfectly valid "delete the table" command
And everything else is a comment.
So it does: selects any matching rows, deletes the table from the DB, and ignores anything else.
So ALWAYS use parameterized queries! Or be prepared to restore your DB from backup frequently. You do take backups regularly, don't you?
But to be honest, the problem you have noticed is pretty trivial to fix: what should a line end with in PHP?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
You don't wipe an entire database for a fine.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|