Editing a Mysql BLOB field

Hello,
I have a BLOB field in my DB that I need to edit. I’m using PHPmyadmin which lets me download an unserlialized text version on the contents, and then upload it back again. The problem is that when I edit the file and upload it back I’m getting PHP errors (Invalid argument supplied for foreach()) that I guess indicate that I’m not saving the file properly (?).

Can anyone guide me through the process of doing it right?

Thanks!

Welcome to the SP forums.

You get PHP errors when using phpMyAdmin?

No sorry, I get the PHP error on page loads after updating the BLOB field. On phpMyAdmin I get confirmation on the successful update.

Could you post the code here?

Guido, do you mean the error code, or…?

No, the PHP code that is causing the error.