Hi, I'm having an issue. I'm making a message system. Can someone please help me correct this. If you need my database prefixes, I'll give you them through private message.
Sorry, some reason it wasn't working, but here are the images. If it's something to do with updating selections, please let me know because I want the messages to update. When I tested it, the number count just stays at 0.
though thats assuming your db class works like that. does the db class not have something like $database->countOf($q);?
No sorry, your code just calls the user's ID. Not updating the message count.
-_- I feel silly. I found the answer. The reason why it wasn't updating was because recieved = 'unread'"; wasn't updating it so I changed it to recieved = '0'"; and it worked. Thanks for the help anyways.
Last edited by xiong_ster123; 01-04-2013 at 11:20 AM..
Reason: Resolved