Here's the code:
end the php code:
If I remove everything and leave you alone "hora" inserted into the database, if I put the rest of the fields are not.
I've been looking but no longer do.
thanks
ExecuteRemoteQuery("http://"&base&"/android.php?id=" & id & "&fecha="&fecha&"&hora="&hora&"&nombre="&nombre&"&longitud=" &longitud&"&latitud="&latitud,1)
end the php code:
<?
$databasehost = "localhost";
$databasename = "afichar";
$databaseusername ="root";
$databasepassword = "";
$con = mysql_connect($databasehost,$databaseusername,$databasepassword) or die(mysql_error());
mysql_select_db($databasename,$con) or die(mysql_error());
$id=$_GET['id1'];
$fecha=$_GET['fecha1'];
$hora=$_GET['hora1'];
$nombre=$_GET['nombre1'];
$longitud=$_GET['longitud1'];
$latitud=$_GET['latitud1'];
$sql="INSERT INTO horarios (id,fecha,hora,nombre,longitud,latitud) VALUES ('$id,'$fecha','$hora','$nombre','$longitud','$latitud')";
mysql_query($sql);
?>
If I remove everything and leave you alone "hora" inserted into the database, if I put the rest of the fields are not.
I've been looking but no longer do.
thanks