Tweet Button Counter Problem



I am kinda lost. I have a bloggish web site, which every posts have dynamically created “Tweet” buttons. Button functions perfectly fine, but I can’t really get the counter to be working at all. Sometimes it shows number of tweets when I refresh but most of the times (like 99 times out of 100) it shows the counter set to zero. My application is PHP based. See following link for what happens:

$unUrl = "http://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
echo '<script src="" type="text/javascript"></script>
<a href="" class="twitter-share-button"
data-text="'.$row['PostTitle'].' - Teknoplay '.$finalCategoryName.' "
data-related="Teknolojinin Kullanım Kılavuzu"

By the way, all the variables are valid, none of them are null; checked all of them... What am I doing wrong?

closed #2