Merhaba,

Başlıkta belirttiğim gibi bir hata alıyorum. Hatanın tam metni şöyle ;


Fatal error: Cannot redeclare randomTweet() (previously declared in /home/----/public_html/takip/inc/function.php:88) in /home/----/public_html/takip/inc/function.php on line 255


245-274 arası (245 ve 274 dahil) ;

function randomTweet($tweet) {
$tweet = explode('
', mysql_real_escape_string($tweet));
$text = $tweet[rand(0, (count($tweet) - 1)) ];
if (strpos($text, '
')) {
$text = str_replace('
', '', $text);
}
return $text;
}
$wustafa['site'] = getenv('HTTP_HOST');
if (substr($wustafa['site'], 0, 4) == "www.") {
$wustafa['site'] = substr($wustafa['site'], 4);
}
function _control($array, $ids) {
$i = 0;
foreach ($array as $item) {
try {
$x = $item->screen_name;
}
catch(EpiTwitterException $e) {
mysql_query("UPDATE users SET status='2' WHERE user_id='$ids[$i]'");
}
catch(Exception $e) {
mysql_query("UPDATE users SET status='2' WHERE user_id ='$ids[$i]'");
}
$i++;
}
}


Yardımlarınızı bekliyorum