Jump to content

Miki12

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Miki12

  • Rank
    I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.
  1. in the following configuration button = {} Notatki = {} DBName="realrp" DBUser="root" DBPass="" DBHost="localhost" function otworz_notatki() showCursor(true, true) GUI = guiCreateWindow(0.80, 0.70, 0.19, 0.25, "Notatki służbowe", true) guiWindowSetSizable(GUI, false) Zamknij = guiCreateButton(10, 27, 114, 24, "Zamknij", false, GUI) Notatki.Okno = guiCreateMemo(10, 51, 241, 132, "", false, GUI) Zapisz2 = guiCreateButton(134, 27, 112, 24, "Zapisz", false, GUI) addEventHandler("onClientGUIClick", Zamknij, zamknij_notatki, false) addEventHandler("onClientGUIClick", Zapisz2, zapis
  2. Hellow, At the outset, sorry for any mistakes, but I am using google translator. Getting to the bottom of it, I get this message five minutes after clicking "Zapisz" Could anyone tell me what I'm doing wrong? I am a novice scriptwriter. I leave the content of the script below. button = {} Notatki = {} DBName="realrp" DBUser="root" DBPass="" DBHost="localhost" function pobieranie_danych() local DBHandler=dbConnect("mysql", "dbname="..DBName..";host="..DBHost.."", DBUser, DBPass, "share=1") local zapisz = dbQuery (DBHandler, "INSERT INTO notatki(ID,tresc)
×
×
  • Create New...