I use
Option Explicit
Private WithEvents httpURL As WinHttp.WinHttpRequest
Const HTTPREQUEST_PROXYSETTING_DIRECT = 1
Private Sub cmdGo_Click()
httpURL.SetProxy HTTPREQUEST_PROXYSETTING_DIRECT
httpURL.Open "GET", "http://www.URLsite.com/code.php?query=%22SELECT%2B*%2BFROM%2BTable%22"
httpURL.Send
txtGET.Text = httpURL.ResponseText
End Sub
but return was "\nQuery was empty"
What is correct URL-encoded data?...how to send variable $query from php code?