All,

Can I do this?

$sth->bind_param_inout($#execute_args+1,\$new_id,38);
$sth->execute(@execute_args);

When I try I get the following error
Can't rebind or change param :p6 in/out mode after
first bind (1 => 0) at ...........

I wish to pass several arguments, into the sth, I wish
to use placeholders so I can cache this $sth, 

So in mysql, I would have used the 'last_insert_id'
mechanism to get my auto incremented number, but I'm
now using oracle, and I'd found an example of using
bind_param_inout but without any args to execute,
which uses my autoincrement sequence. 

Can anybody shed some light on this? 

Regards

Marty


        
        
                
___________________________________________________________ALL-NEW Yahoo! Messenger - 
all new features - even more fun!  http://uk.messenger.yahoo.com

Reply via email to