Hello everyone
I expose my problem, I'm doing the following script, the Query looks perfect but I can not see the result it returns !! that I'm doing wrong ... I've tried almost everything ....
Can you help me?
function ListOptions_Rendered() {
$tablaMatriz = $GET['showmaster'];
if ($tablaMatriz=='CasaAcogida'){
$idCasaAcogida = $GET['ididCasaAcogida'];
$sSql = 'SELECT count(*) as total FROM CasaAcogida, DatosPersonales WHERE CasaAcogida.ididCasaAcogida=DatosPersonales.refExpediente and CasaAcogida.ididCasaAcogida='.$idCasaAcogida;
$rs=$GLOBALS["conn"]->execute($sSql);
echo "<br> Total2: ".$rs->fields->total;
return TRUE;
}
Thank you!!