un saluto al forum
premetto che è la prima volta che uso mysql, httpjob e php
devo leggere da un mysql su aruba e cercando sul forum ho trovato il codice php
che ho messo sul server
scritto questo codice
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
arrivato a edittext1=job.GetString
si chiude senza alcun messaggio
mi aiutate?
			
			premetto che è la prima volta che uso mysql, httpjob e php
devo leggere da un mysql su aruba e cercando sul forum ho trovato il codice php
che ho messo sul server
scritto questo codice
			
				B4X:
			
		
		
		#Region  Project Attributes
    #ApplicationLabel: B4A Example
    #VersionCode: 1
    #VersionName:
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: unspecified
    #CanInstallToExternalStorage: False
#End Region
#Region  Activity Attributes
    #FullScreen: False
    #IncludeTitle: True
#End Region
Sub Process_Globals
    'These global variables will be declared once when the application starts.
    'These variables can be accessed from all modules.
    Dim query As String
    Dim job As HttpJob
End Sub
Sub Globals
    'These global variables will be redeclared each time the activity is created.
    'These variables can only be accessed from this module.
    Private EditText1 As EditText
End Sub
Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    Activity.LoadLayout("Mondo1") 
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub Button1_Click
       query = "Select Nome where ID=0 " ' qui ci scrivi la tua query
       'Dim MD5 As String = MD5calc("xxxxxx" & query) ' la password deve essere la stessa del file PHP
       Dim su As StringUtils
       query = su.EncodeUrl(query,"UTF8")
       job.Initialize("call",Me)
       job.Download("http://www.giannini-lorenzo.com/Mondo1/execute.php?sql=" & query)
       EditText1.Text=job.GetString
End Sub
	arrivato a edittext1=job.GetString
si chiude senza alcun messaggio
mi aiutate?