Jump to content
MakeWebGames

Have mails dont show


iR00T

Recommended Posts

Ok here is the problem

on one of my v2 games

i have mail but it dont show like i logged in said Mailbox (0)

but i clicked it and i had mail

so does anyone know what the problem is

and it wouldent have to tdo wid the mailbox.php just something on my mainmenu.php am i right.?????

Link to comment
Share on other sites

Re: Have mails dont show

Nope sounds like your mailbox.php

It has to update the users table (newmail) <-- something like that...everytime you send a mail...

Not exact code but will help you solve it...in the mailbox.php in the send function there should be a query to do that somethign like this.

$db->query("UPDATE users SET newmail=newmail+1 WHERE userid= here is where im not sure but it should be the person RECIVEING the mail.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...