Hello everyone i have created a function in a seperate file called ,,block''
were i put this function.
function nauj($b)
{
$res=mysql_query("SELECT id,title,img,Aprasymas FROM informacija WHERE kat=$b ORDER BY id DESC LIMIT 1 ",$link);
if(mysql_num_rows($res)>0)
{
$my =...