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!
keyCnt should have been msgCnt. That might be part of it. I copied that from another script I wrote that did work and missed changing the variable names in a whole line. It looks like your array line will do everything I need in one line correct?
Thanks.
zunebuggy wrote:It looks like your array line will do everything I need in one line correct?
If you can understand how it works you're free to use it. If not then you shouldn't: better to have something longer that you know than something shorter that you don't.