View Single Post
  #9  
Old 01-24-2011, 09:58 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,969
fadillzzz is an unknown quantity at this point
Default

Quote:
Originally Posted by Kaeliah View Post
Is it repeating the adoptable type as well as the promocode?

You may want to replace the loop, give this a try:
PHP Code:
$i=0;
        while(
$i $num){
            
$article_content $article_content."<tr><td>Adoptable</td><td>".$promocodes['type']."</td><td>".$promocodes['promocode']."</td></tr>";
            
$i++;
        } 
I don't know if that's the issue or not but that's how almost all the other loops in the script are set up so...
Yes, it's repeating the type and the promo code and I already tried that loop before. Didn't work
Reply With Quote