Originally posted by Jacker
well the link is useful, it goes beyond what U'r asking for, but it will help you to understand the concept. In it it
echos links, but you can easily replace it by insert the banner after $limit has been reached
nope he is right and you are wrong.
either you need to read the manual or need to reread his first post 🙂
egohain is correct but has been ignored 😕
$result = mysql_query( query );
$i = 0;
while( $row = mysql_fetch_array( $result ) ){
$i++;
echo $row['data'];
if( $i = 100 ){
echo 'banner stuff';
$i = 0;
}
}
is a longer explaination of what has been said.
🙂