So I want to bind multiple values that are in an associative array

I have this code 


        foreach ($binds as $key=>$value)
                        {
                                OCIBindByName($this->m_cursor,":$key",$value,-1);
                        }

but it only seems to work for one value in the array, the array conetents 
would be something like 

$binds["id"] = 54;
$binds["name"] = Dick;

anyone get this to work or have any idea why it works when the array only has 
one thing in it?   Thanks in advance

-- 
Shaun Butler
[EMAIL PROTECTED]
x2905

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to