PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
the error only occurs when i display more than 1 record in the email. so, i think, this is not the header problem but the body message error. can u point me the way to solve?
nothing really stands out in your code, so I'm unsure how we can help much further.. The only things that stand out are, that you don't have standard html in the message (which shouldn't really affect this issue), and that if the data stored inside the image arrays or id array or buyer prices array may be "bad", whatever that means...
Make a concentrated read over the final result $message is and $header is before you call mail(), that may lead to more insight.
now, i found some html code error. i solved it. now it works find for 5 records, but, if more than 5, there will be error. i think this is not my fault any more. is there needed for further configuration changes?