1:
$query = mysql_query("
SELECT table_one.row
FROM table_one
INNER JOIN table_two
ON table_two.row = $id");
2:
$query = mysql_query("
SELECT table_one.row
FROM table_one, table_two
WHERE table_two.row = $id");
Are these just two ways of writing the same thing?
They both achieve the same results but with different approaches. Though you are misusing the ON clause.
I would suggest something like this:
Quote from mysql site: