When you do figure out the answer to your problem, please post it here. There aren't many PHPers that use RedBack, but your solution may really help those in need.
Brian E wrote:
Please note.. some debugging code does exist. Also the server maybe just misconfigured... it comes with no documentation of where to put the .ini file that pairs with the COM object.
Here you go:
<?
//Response.Expires = 0
ini_set("max_execution_time","0");
error_reporting(0);
//' This function demonstrates how to extract values from a multivalued field
function ExtractMultiValues($redField)
{
$strValue = "";
echo $redFiled->Count . " ";
minor typo: echo $redField->Count . " ";
if ($redField->Count > 1){
for($count=1;$count <= $redField->Count;$count++)
{
if (strlen(trim($strValue)) > 0)
$strValue = $strValue . $redField->Value($count-1) .
test Value here and see if it's an object that you get. All of your strings below are sent through this function so this *has* to be the problem.
"<br>"; else $strValue = $redField->Value($count-1) . "<br>"; } } else $strValue = $redField->Value(0);
it would also be interesting to test this and make sure this gives you what you want as well (string?)
return $strValue; }
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php