ya i need this thanks but in this code
<?php
$con = mysql_connect("localhost","apnimusk","password");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("apnimusk_naat", $con);
// check to see if id is set
if(isset($GET['id']) && is_numeric($GET['id']))
{
echo 'Your have requested ID #'.$_GET['id'].'<br />';
echo '<a href="sadasdas.php">Back</a>';
}
// no id requested, display results
else
{
$result = mysql_query("SELECT * FROM album");
while($row = mysql_fetch_assoc($result))
{
echo '<a href="?id='.$row['id'].'">'.$row['age'].'</a> - ' . $row['name'] . " - " . $row['age'] . '<br />';
}
}
mysql_close($con);
?>
where i put ur code
// DB connection here
$u="select * from albums wehre ID=$request_id";
// display dta as u need
// close open album db connection n open old connection again