Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
I made a especial library for my web services I'm trying to push into an array the data with their respective field names, but when I started the application I receive this message:Code: Select all
Fatal error: Unsupported operand types in c:\inetpub\wwwroot\globales\globals.php on line 75
PHP Fatal error: Unsupported operand types in c:\inetpub\wwwroot\.....Code: Select all
function into_arrays($QueryResult)
{
$i=1;
while (true)
{
if (!odbc_fetch_into( $QueryResult, $i, &$X ) ) //ve si hay mas registros
{ ++$i;
break;
}
$R[$i-1] = $X;
for ($count = 1; $count <= count($R[$i-1]); $count++)
$RR[$i-1][odbc_field_name($QueryResult,$count)] = $R[$i-1][$count-1];
}
return $RR;
}I'm using PHP 4.x with IIS 2000 please help me to solve or understand what the problem is?
Goyosito
feyd | Please use
Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]