Quote:
Originally Posted by Kaeliah
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