mysql_fetch_array 只取一条记录:
Fetch a result row as an associative array, a numeric array, or both.count($Title1)输出2是因为你的table有两个字段.应该这样:
$result = mysql_query("SELECT TitleName1 FROM titletable");  
while ($row = mysql_fetch_array($result)) 
{
  echo $row[0];
}