MYSQL Class Problem

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
nycrox
Posts: 3
Joined: 08 May 2021, 04:21

MYSQL Class Problem

09 May 2021, 04:54

Hello guys , i use this class https://www.autohotkey.com/boards/viewtopic.php?style=17&t=429&start=40

And i try this code but result its a empty. any body help me ?

Code: Select all

SQL := "SELECT ad FROM other WHERE id = '" . id . "'"

If (SQL) {
      If (My_DB.Query(SQL) = MySQL_SUCCESS) {
         Result := My_DB.GetResult()
         MsgBox , %Result%

      } Else {
         MsgBox, 16, MySQL Error!, % My_DB.ErrNo() . ": " . My_DB.Error()
      }
   }

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: hiahkforum, NullRefEx and 124 guests