= $max) { $text = substr($text, 0, $max); $text = substr($text, 0, ($max - strlen(strrchr($text, ' ')))) . $trail; } return $text; } function str_to_link($str) { $str = text_length($str, 60, ''); $search = array ( '/[\.,;\?\(\)]/', '/[^a-zA-Z0-9\']/', '/-+/' ); $replace = array ( '', '-', '-' ); $str = preg_replace($search, $replace, $str); return strtolower($str); } $connect = @mysqli_connect($server, $username, $password, $name); $query = @mysqli_query($connect, 'SELECT id, status, name, brief, created FROM articles WHERE status="1" ORDER BY created DESC, id DESC LIMIT 15'); header('Content-Type: application/xml'); echo '' . "\n"; echo '' . "\n"; ?> Bangladesh-i Frontpage http://www.bangladesh-i.com/ Delivers the breaking news and information on the latest top stories of Bangladesh Mon, 18 Dec 2017 16:19:58 +0000 en rss@bangladesh-i.com (Bangladesh-i Rss)
Notice: Undefined variable: connect in /home/kajol/web/bangladesh-i.com/public_html/rss/index.php on line 64

Warning: mysqli_close() expects parameter 1 to be mysqli, null given in /home/kajol/web/bangladesh-i.com/public_html/rss/index.php on line 64