Hi all, a little help please.
in my app of LiveCode use this sentence: put "tIDUsr=" & IDUsr &
"&tPWD=" & PWD & "&tCorreo"&correo into tArgList post tArgLists to URL
"http://172.16.2.130:8080/BuscarNombreUsr.php" put it into encodeNombre
Presumably, sent the user id, password and mail my script of php.. but. This
only marks | Undefined index: tIDUsr in| and this is for all data sent..
my script php does this..
<?phpinclude 'conexion.php'; # the connection works fine.
$IDUsr=$_POST["tIDUsr"]; $nIDUsr=(int)$IDUsr; #convertir la cadena a
entero, para comparar con tynit en la bd $PWD=$_POST["tPWD"];
$Correo=$_POST["tCorreo"]; $query = "SELECT Nombre FROM tblusuarios
WHERE IDUsuario='$nIDUsr' and Contraseña='$PWD' and Correo='$Correo'";
$stmt4 = sqlsrv_query( $conn, $query); if( $stmt4 === false) {
echo "Error in query preparation/execution.\n"; die(
print_r( sqlsrv_errors(), true)); } while( $row =
sqlsrv_fetch_array( $stmt4, SQLSRV_FETCH_ASSOC)) { echo
$row['Nombre']."\n"; } $stmt4 = null; $conn = null;?>
any suggestions ?? thanks for everything
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode