JSON Orden de los datos por timestamp

This commit is contained in:
fredyrivera 2015-11-13 08:16:15 -05:00
parent 865d3bcbdf
commit 24ad351cbd

View File

@ -3086,7 +3086,7 @@ AND form_datos.form_id = `form_id`.id
AND (form_id = '$datos[id]' )
$publico
GROUP BY form_datos.control
ORDER BY form_datos.control ,form_datos.timestamp ";
ORDER BY form_datos.timestamp DESC";
$sql = mysql_query($consulta,$link) or die("error al ejecutar consulta ");
if (mysql_num_rows($sql)!='0'){