CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 stored procedure PHP

Print topic Send  topic

Author Message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.