Hy, I made a php site that is a virtual shop. The problem appears when I want to add in the basket the second product. Then I receive the following error : "Fatal error: [] operator not supported for strings in c:\apache\htdocs\cos.php on line...". I know that [] is an array function, not a string and I extracted a string from your $_SESSION array, but I don't know what I have to do in order to repair my program. I can send you the code of my program, if is necessary.
Please, help! Thanks, Monica

Can You send your code Please??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.