Btw, I did a last minute change just now. Changed the fetch all to fetch assoc.
The other changes I made would have been wrong with the fetchall in there, I missed it the first time through.
I also removed your session_start().
I saw no evidence in any of the code you posted that you were using sessions. If you are then you will want to put that back in.
Also, please stop using the [ PHP ] tag around the code. Makes it really difficult to read.
.
__________________
All cookies cleared!
|