Re: help with intermittent problem
| From: | Simon Taylor | Date: | Wed, 05 Jul 2000 14:41:44 +0000 |
| Subject: | Re: help with intermittent problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-869@lists.php.net to get a copy of this message | ||
Andrew Hill wrote:
>
> Simon,
>
> S1000 is just a generic error message. Could you post the whole test
> script?
>
> Best regards,
> Andrew
> ----------------------------------------------------
Hi,
This is my latest attempt, still giving the same problem.
bye
simon
<?
$query = "select * from test1";
putenv( "ODBCINI=/etc/odbc.ini" );
$fd = odbc_pconnect( "ODBC_test", "****", "****" );
$prep_success = odbc_prepare( $fd, $query );
print "<BR>PREP : $prep_success";
//$res = odbc_exec( $fd, "select * from test1" );
//odbc_fetch_row( $res );
//$num = odbc_num_rows( $res );
print "Num : [$num]";
odbc_close( $fd );
?>