Welcome Guest, Not a member yet? Register   Sign In
ocibindbyname() expects parameter 4 to be long, string given
#2

[eluser]Ayo[/eluser]
The array has to contain the type and length.

EG.

Code:
$params = array(
                        array('name'=>':P_ID', 'value'=>1, 'type'=>SQLT_CHR, 'length'=>-1),
                        array('name'=>':P_LOGIN', 'value'=>'ade', 'type'=>SQLT_CHR, 'length'=>-1)
                        );

check out my other post on this topic.
http://ellislab.com/forums/viewthread/123884/


Messages In This Thread
ocibindbyname() expects parameter 4 to be long, string given - by El Forum - 07-22-2009, 10:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB