Jump to content
MakeWebGames

[mccode] Advanced Warning System


Silver

Recommended Posts

Re: [mccode] Advanced Warning System

Nope heres the proper V2 of it :lol:

warnings.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

in viewuser.php find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Add under

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

  • Replies 87
  • Created
  • Last Reply

Top Posters In This Topic

Re: [mccode] Advanced Warning System

well the user bit for view user creates error :-( and on warnings.php for v2 i get

 

 

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY w.time DESC' at line 1

Query was SELECT w.*,u.* FROM warnings w LEFT JOIN users u ON w.warner=u.userid WHERE w.user= ORDER BY w.time DESC

can anyone help i tried putting the sql in

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Re: [mccode] Advanced Warning System

 

Nope heres the proper V2 of it :lol:

warnings.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

in viewuser.php find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Add under

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Wow this is a first... Someone made a mistake and I know how to fix it =)

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Should be:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

Re: [mccode] Advanced Warning System

I am getting a error from Parse error: syntax error, unexpected T_STRING in /home/deadmans/public_html/test/viewuser.php on line 89

line 89 is

$w=$db->query("SELECT * FROM warnings WHERE user={$r['userid']}");

any help?

Thanks

Link to comment
Share on other sites

  • 3 weeks later...

Re: [mccode] Advanced Warning System

 

I am getting a error from Parse error: syntax error, unexpected T_STRING in /home/deadmans/public_html/test/viewuser.php on line 89

line 89 is

$w=$db->query("SELECT * FROM warnings WHERE user={$r['userid']}");

any help?

Thanks

I am getting same problem with that line...im trying to fix it also

Link to comment
Share on other sites

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...