Sub ExecutePHP(pQuery As Map, phpFile As String, phpTag As String)
Dim json As String
Dim sCommand As String = ""
json = Map2QueryString(pQuery)
If Len(json) = 0 Then
sCommand = $"${PhpPath}${phpFile}"$
Else
sCommand = $"${PhpPath}${phpFile}?${json}"$
End If
'create the headers
Dim headers As Map
headers.Initialize
headers.put("Content-Type", "application/json")
headers.Put("Access-Control-Allow-Origin", "*")
banano.CallAjax(sCommand, "GET", "json","",phpTag,False, headers)
End Sub