<?php
function protect($string){
	$string = mysql_real_escape_string($string);
	$string = strip_tags($string);
	$string = addslashes($string);
	
	return $string;
}
function connect(){
	$con = mysql_connect("localhost","root","") or die(mysql_error());
	$db = mysql_select_db("users, $con);
}
function topic_go($id){
	echo "<meta http-equiv="refresh\" content=\"0;url=index.php?act=topic&id=".$id."\">";
}
function uname($uid, $link = FALSE){
	$sql = "SELECT username FROM `users` WHERE `id`='".$uid."'";
	$res = mysql_query($sql) or die(mysql_error());
	if(mysql_num_rows($res) == 0){
		return "Invalid User";
	}else {
		$row = mysql_fetch_assoc($res);
		if(!$link){
			return $row['username'];
		}else {
			return "<a href=\"index.php?act=profile&id=".$uid."\">".$row['username']."</a>";
		}
	}
}
?>
kas gali but blogai,nesuprantu,klaida :  Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\functions.php on line 17