Jump to content

Ujube

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Ujube

  1. Hey Forum, Long time no see, I hope this guide will be helpful for some of your projects. Youtube Link: https://www.youtube.com/live/4oHRkFnAvp4 I don't think there's a need to explain the video in great detail since it's a live broadcast from scratch on YouTube. I didn't have time to edit the video, so you can watch it as is. The source code for the project can be found at this link. https://i1.com.tr/autoit Need Elements: _WampServer or XAMPP Resources: MySQL UDF's (without odbc) https://www.autoitscript.com/forum/topic/85617-mysql-udfs-without-odbc/ WebDriver UDF https://www.autoitscript.com/wiki/WebDriver Latest Version in the WebDriver - GitHub Repo - https://github.com/Danp2/au3WebDriver/releases/tag/0.13.0 Requirements - JSON UDF : https://www.autoitscript.com/forum/topic/148114-a-non-strict-json-udf-jsmn - WinHTTP UDF : https://www.autoitscript.com/forum/topic/84133-winhttp-functions/ Chromium for chromedriver : You can download it from the link below and leave it into the file according to the Chrome version. - https://chromedriver.chromium.org/downloads If you have any questions or problems, feel free to ask them in the comments. Take care! AutoIT - Flashscore Veri Cekme.zip
  2. Ujube

    _ClipFileToVar

  3. Hey Guys, i have a statement problem.. i don't know, how put on this correctly.. $fdata = "INSERT INTO `asd`.`qwe` (`name`,`lname`,`email`,`note`) VALUES (" & _ "'" & $sName & "'," & _ "'" & $sLname & "'," & _ "'" & $sEmail & "'," & _ ;~ If StringInStr($ctrl, "'") Then ;~ If StringInStr($val, ",") Then ;~ "'" & StringSplit($val, ',', $STR_ENTIRESPLIT)[1] & "');" ;~ Else ;~ "'" & $val & "');" ;~ EndIf ;~ Else ;~ "'" $empty "');" ;~ EndIf _MySQL_Real_Query($cnn, $fdata) i'll be so much grateful.. ***************************************** Solution.. $fdata = "INSERT INTO `asd`.`qwe` (`name`,`lname`,`email`,`note`) VALUES (" & _ ;~ db col - name "'" & $sName & "'," & _ ;~ db col - lname "'" & $sLname & "'," & _ ;~ db col - email "'" & $sEmail & "'," ;~ db col - note If StringInStr($ctrl, "'") Then If StringInStr($val, ",") Then $fdata = $fdata & "'" & StringSplit($val, ',', $STR_ENTIRESPLIT)[1] & "');" Else $fdata = $fdata & "'" & $val & "');" EndIf Else $fdata = $fdata & "'" & $empty & "');" EndIf _MySQL_Real_Query($cnn, $fdata) maybe it helps someone..
×
×
  • Create New...