en mi servidor local, funciona la siguiente sentencia
Código:
select max(horaini) as hor, fecha as fec from tvisitas where iduser='".$rowdato["idusuario"]."' and fecha in (select max(fecha) from tvisitas) group by iduser
pero al momento de subirla pagina a mi servidor web no la ejecuta, alguien me puede indicar como ejecutarla???
Servidor Local:
PHP: 4.3.9
MySQL: 4.1.7
Apache Web Server: 1.3.33
Servidor Web:
PHP: 4.4.1
MySQL: 4.0.25 -Standard Log
Apache Web Server: 1.3.34
Agradezco toda la ayuda que me puedan brindar.