//echo "$w";
$result2=mysql_query("select * from registration where r_id='$r_id'") or die (mysql_error(). " : ".mysql_errno());
$row2=mysql_fetch_object($result2) ;
echo "$w";
}
else
{
$result=mysql_query("select * from registration orderby r_id desc") or die (mysql_error(). " : ".mysql_errno());
$d="*****";
}
echo "$d"; ?>