Hello,
I am just starting to use SAP DB as a backend database for a web site.
SAP DB is accessed via ODBC driver for Linux. Scripts are in
PHP4.
The learning script, which should simply display a column of
timestamps returns the following:
2000-02-11 14:38:01t_21
2000-02-11 14:38:01t_21
1998-12-01 04:12:31t_21
2002-09-25 14:54:28t_21
The part of the string after the seconds value (t_21) is but a
garbage, so it may differ each time I run the script.
The script is given below:
<?
$connect = odbc_connect("test", "", "" );
$query = "SELECT entryts FROM test1";
$result = odbc_exec($connect, $query);
while(odbc_fetch_row($result)){
$s = odbc_result($result, 1);
print("$s\n");
}
odbc_close($connect);
?>
The very same query run in SQL Studio, ofcourse returns correct
results.
Has anyone seen the similar behaviour? Is it a misconfiguration problem?
Whatever help is gladly accepted.
Best regards
Kasumov Yusif
mailto:[EMAIL PROTECTED]
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general