Kod :
eser-ajax.php dosyamdan yazdırdığım kısım. (nl2br fonksiyonunu yeni yazdım)
<?php echo nl2br (""$esermesaj". \n"); ?>Veriyi çektirdiğim eser.php dosyamdaki kod<script>
$(function() {
updateCounter();
});
function updateCounter() {
$.ajax({
url: 'eser-ajax.php',
success: function(output) {
$('#eserajax').text(output);
},
complete: function() {
setTimeout(updateCounter(), 8000);
}
});
}
</script>
<p id="eserajax" class="eserajax">/ <br /></p>
[COLOR=#000000][FONT=Open Sans][SIZE=2][/SIZE][/FONT][/COLOR]Yardımcı olabilir misiniz?
Şimdiden teşekkürler
