$no = mysql_query("SELECT * FROM news ORDER BY id DESC LIMIT 5");
while($n = mysql_fetch_array($no)){
$message = $n['message_RS'];
if(strlen($message) > 50){
$message = substr($message,0,50);
$message .= "...";
}
echo " <div class='text'> <p> <a href='#'>$n[title]</a> <br /> <small>$message</small> </p> </div> ";
}
In line :
$message = $n['message_ HERE GOING LANGUAGE'];
Language = $_COOKIE['language'];
I just need from table to fetch a row for seleted language any help