$str = строка из базы;
echo "<div class='wrapper'>
<div class='caption'>
$str->caption (заголовок)
</div>
<div class='describe'>
$str->describe (описание)
</div>
</div>"
$('document').ready(function () {
var i = 1;
setInterval(function () {
if ($('.pay_ways .pay_block').length > 2) {
$('.pay_ways .pay_block:first').remove();
}
$('.pay_ways').append('<div class="pay_block"><? echo rand(1,100) ?><div>');
}, 2000);
});
#1248 - Every derived table must have its own alias