View Single Post
Old 01-06-2013, 04:34 PM   PM User | #9
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
Quote:
There's hardly anything wrong with looping and a prepared statement.
@Fou-Lu I had forgotten about the prepared statements aspect! Kinda their whole purpose really .

Quote:
Still not seeing the need for msgArray.
This may relate to a previous suggestion I made. If the messages were paginated, then re-executing the same SQL-criteria may not produce the same messages, as a message may have been deleted or created on a previous page (in another tab). I see that you picked up on this possibility in a previous post.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS

Last edited by AndrewGSW; 01-06-2013 at 04:37 PM..
AndrewGSW is offline   Reply With Quote