PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Fatal error: [] operator not supported for strings....
First always code with error_reporting(E_ALL); at the top of your page. This will give you consistant error reporting and more stable code. Then remove it when you done testing. I'd print $_SESSION array to the screen. If the problem persists I'd a assign a key to 'productid'.