Results 1 to 1 of 1
  1. #1

    A simple SQL request...

    Hello,

    I've looked to this plugin :
    https://forum.myrcon.com/showthread....Logger-1-0-0-2

    And know I think I am able to open a connection to my SQL database
    But here am I, I just don't know how to do a simple SELECT :
    Code:
    using MySql.Data.MySqlClient;
    
    ...
    ...
    public override void OnPlayerJoin(string soldierName) {
       MySqlCon.Open();
       try
       {
    			
       }
       catch (MySqlException oe)
       {
                    
       }
       MySqlCon.Close();
    }
    Can someone help me to find an example for a very simple SELECT query ?

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •