I have set up the page which writes to my mysql database, id, title,content
All went well there.
I also managed to display each article title fine and link it to index.php?id=x where x = the id of the article.
Now when i click one of these nothing happens, how would i make it so when i click one of the articles the content of the article comes up.
Here is my index.php page so far
Code: Select all
<?php
$self = 'http://www.gtcave.com/test/cms/';
$content=mysql_query("select * from news ORDER BY `id` DESC LIMIT 5") or die(mysql_error());
while ($donnee = mysql_fetch_array($content))
{
$id= $donnee['id'];
$title=$donnee['title'];
echo "<tr>";
echo ' <td><a href="' . $self . 'index.php?id=' . $id. '">' . $title .'</a></td>' . "\n" ;
echo "</tr></br>";
}
?>K so that displays the article list. What i want to know is how to make it when you click one of the article links, how to make the actual article come up? I just want real basic way on how to do it.
please help if ya know how,
regards