Andrés Moya.
|
| Posted: 06/06/2005, 9:43 AM |
|
Hi.
I need some help. I'm trying to execute a stored procedure (Sybase), and I'm having troubles getting the results. The page I'm working on has personalized code, it's not exactly a CodeCharge generated page.
The code is the following:
$SQL = "EXEC repp..Report_account " . $Fact;
$db = new clsDBdb1();
$db->query($SQL);
$Result = $db->next_record();
if ($Result) {
$text = $db->f(0);
die($text);
}
And the error I got:
" Notice: sybase_query(): Sybase: Unexpected results, cancelling current in C:\Archivos de programa\Apache Group\Apache2\htdocs\ "
If a use a SQL statement, it works fine, but with stored procedures it doen't.
I'd appreciate any help...! thanks.
|
|
|
 |
Nicole
Posts: 586
|
| Posted: 06/07/2005, 2:42 AM |
|
Andres,
it seems to be a PHP bug in a particular PHP version http://bugs.php.net/bug.php?id=27843
_________________
Regards,
Nicole |
 |
 |
|