FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » mysql dynamic binding and pass-by-ref deprecated
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
mysql dynamic binding and pass-by-ref deprecated [message #180816] Wed, 20 March 2013 03:49 Go to previous message
oldyork90 is currently offline  oldyork90
Messages: 9
Registered: December 2011
Karma:
Junior Member
I developed php code on a local uSWin box - php 5.3.8, mysql 5.5.
Every thing worked fine.

I moved it to godaddy - boom.

-->Call-time pass-by-reference has been deprecated

call_user_func_array(array($sth,'bind_param'),$vr) wants an array of
references.

But I get these deprecated messages when I push the references on an
array and when I try and run call_user_func_array()

I tried removing the references and directly pushing on the vars, but
no go.

Short of a giant switch statement to count parameters, any ideas?
godaddy is sitting at php 5.3, mysql 5.0.96
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need Forex Feed in PHP
Next Topic: can't get includes to load
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 12:24:40 GMT 2024

Total time taken to generate the page: 0.04035 seconds