TheDefender pointed this out earlier, but I noticed that you didn't follow his suggestins in the latest code that you posted: you aren't passing any values through the URL, so you should be using $POST instead of $GET. However, in my examples that follow, I will leave it as $GET. Be aware that in your next draft of the code, you need to change it from $GET to $_POST. This line right here:
// Selects the fields that will be displayed
$query="SELECT articles_ID,articles_content FROM articles WHERE articles_ID=".$_GET['articles_ID'];
Are you even sure that $_GET['articles_ID'] contains a value? That could be why the SELECT statement is erroring on you. Use an echo statement before the query so you can see what you're providing to the query:
echo "Value is: ".$_GET['articles_ID'];
// Selects the fields that will be displayed
$query="SELECT articles_ID,articles_content FROM articles WHERE articles_ID=".$_GET['articles_ID'];
exit("<li />End of developement code.");
Another way to troubleshoot this is to echo out the actual query:
// Selects the fields that will be displayed
$query="SELECT articles_ID,articles_content FROM articles WHERE articles_ID=".$_GET['articles_ID'];
echo $query;
and see what it says. I didn't look through everything you posted, so you may have other problems, but try those echo statements first.