Has anybody messed with these yet? I'll be inserting/updating where the data for one column could be quite large. I don't want to increase the maximum packet size for my mysql client. The functions are not yet fully documented, so I'm having trouble getting them to work.
Basically I've tried numerous order variations of:
Prepare()
Bind_param()
send_long_data()
execute()
close()
Preparing,binding, executing, and closing work fine by themselves, but send_long_data always returns false. I've tried sending the super long string to it and breaking up the string myself.
I've now just worked around it by doing something else, but not getting these to work has annoyed me. I must make them work.
MySQLi: prepare(), send_long_data()
Moderator: General Moderators