Ayuda Parse Error
Me arroja este mensaje:
Parse error: parse error in C:briopubwwwrootcallcenterphppr.php on line 18
el script es el sgute:
<?
print "<html><head><title>prueba1</title></head><body>n";
/* Connect to the database: */
$con = odbc_connect("xxx", "xxx", "xxx");
/* Execute the query that performs the actual search in the DB: */
$rs2 = odbc_exec($con, " T.DAY_N_IN_MONTH, SUM(V.N_ENTERED) AS ENTERED"&_
"from ETL_USER.T_QUEUE_NO_AGG T"&_
"INNER JOIN ETL_USER.V_QUEUE_NO_AGG V on T.TIME_KEY=V.TIME_KEY"&_
"INNER JOIN ETL_USER.O_QUEUE_NO_AGG O on O.OBJECT_ID=V.OBJECT_ID"&_
"where "&_
"AND T.QUERY_DATE BETWEEN '20050311/0900' AND '20050311/1100'"&_
"AND T.TIME_HH24MI >= '0900'"&_
"AND T.TIME_HH24MI <= '1100'"&_
"AND O.PRESENTATION_NAME='[email protected]_M ACD6576' GROUP BY T.DAY_N_IN_MONTH" );
odbc_result_all($rs2);
odbc_close($con);
print "</body></html>n";
/* Simple function for retrieving the current timestamp in microseconds: */
function getmicrotime()
{
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
?>
Gracias por su ayuda
Parse error: parse error in C:briopubwwwrootcallcenterphppr.php on line 18
el script es el sgute:
<?
print "<html><head><title>prueba1</title></head><body>n";
/* Connect to the database: */
$con = odbc_connect("xxx", "xxx", "xxx");
/* Execute the query that performs the actual search in the DB: */
$rs2 = odbc_exec($con, " T.DAY_N_IN_MONTH, SUM(V.N_ENTERED) AS ENTERED"&_
"from ETL_USER.T_QUEUE_NO_AGG T"&_
"INNER JOIN ETL_USER.V_QUEUE_NO_AGG V on T.TIME_KEY=V.TIME_KEY"&_
"INNER JOIN ETL_USER.O_QUEUE_NO_AGG O on O.OBJECT_ID=V.OBJECT_ID"&_
"where "&_
"AND T.QUERY_DATE BETWEEN '20050311/0900' AND '20050311/1100'"&_
"AND T.TIME_HH24MI >= '0900'"&_
"AND T.TIME_HH24MI <= '1100'"&_
"AND O.PRESENTATION_NAME='[email protected]_M ACD6576' GROUP BY T.DAY_N_IN_MONTH" );
odbc_result_all($rs2);
odbc_close($con);
print "</body></html>n";
/* Simple function for retrieving the current timestamp in microseconds: */
function getmicrotime()
{
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
?>
Gracias por su ayuda