Jump to content
MakeWebGames

UOTS-Owner

Members
  • Content Count

    46
  • Joined

  • Last visited

  • Days Won

    1

UOTS-Owner last won the day on March 18 2020

UOTS-Owner had the most liked content!

Community Reputation

5 Neutral

About UOTS-Owner

  • Rank
    Beginner

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Could I get an example please to work off say for replacing the original one? SELECT `usr_id`,SUBSTRING_INDEX(usr_stat,':',6) AS offences FROM `usr_tbl` ORDER BY `offences` DESC LIMIT 25
  2. Yeah this is in here but I dont know how to select it https://ibb.co/P5gJFGp
  3. Anyone know how to select a certain value in this field? For instance the 6th one in which shows as 1 https://ibb.co/wzTtxKG This is the current setup but it just selects the first number every time. SELECT `usr_id`,SUBSTRING_INDEX(usr_stat,':',6) AS offences FROM `usr_tbl` ORDER BY `offences` DESC LIMIT 25
  4. Still looking for help on this one.
  5. Yeah still same problem, title adds fine but comment still inserts the same https://ibb.co/YXNXx0F
  6. Title is inserting fine but comment does not.
  7. Now when i post something it inserts but the the msg section always comes up as "You must enter a comment to post"
  8. ok this is my current one tried a few things so it's probably a bit of a mess again right now $_GET['id'] = preg_replace('/[^0-9]/', '', $_GET['id']); $_GET['a'] = preg_replace('/[^a-z]/', '', $_GET['a']); $_POST['msg'] = strip_tags(stripslashes($_POST['msg'])); $_POST['title'] = strip_tags(stripslashes($_POST['title'])); echo "<p_title>New topic</p_title> <hr>"; if(!$_GET['id']) { echo warn("Error, Invalid forum ID!"); } else { $sql = "SELECT * FROM `forums` WHERE `f_id` = '".mysql_real_es
  9. Yeah the duplicate was already removed.
  10. Still no luck without changing id='editor1' back to id='comment' and losing the text editor
  11. Thanks for the response, I tried both of these but still getting You must enter a comment to post
  12. Hi guys, need some help when I replace id = 'msg' to id = 'editor1' it wont post the error You must enter a comment to post appears but I need id set to editor1 for the text editor to work any ideas? if($user['usr_flastp'] > time()) { echo "<p_title>New topic</p_title> <hr>"; echo warn("You must wait one minute between each post/reply."); echo "<hr>"; exit; } $_GET['id'] = preg_replace('/[^0-9]/', '', $_GET['id']); $_GET['a'] = preg_replace('/[^a-z]/', '', $_GET['a']); $_POST['msg'] = strip_tags(stripslashes($_POST['msg']))
  13. ok I messaged you 🙂 Still looking for help.
×
×
  • Create New...