So here's what I want.. When user clicks on some link e.g. http://www.keevik.com/vicevi.php?id=24 that script prints out only that single id.
Here's my code
/* Get data. */
$sql = "SELECT * FROM $tbl_name ORDER BY id DESC LIMIT $start, $limit";
$result = mysql_query($sql);
while($row = mysql_fetch_array($result))
{
echo "<a href ='vicevi.php?id=".$row['id']."'>".$row['id']."</a>";
echo "<br>";
echo nl2br($row["VicText"]);
echo "<hr>";
}
So, when I click on some link it doesn't do what I actually want :S
WHERE id=$idand get it from $_GET['id'];