944,181 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 2784
  • PHP RSS
Oct 1st, 2004
0

Error on "basket" of an e-shop

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
monicao is offline Offline
9 posts
since Apr 2004
Oct 26th, 2004
0

Re: Error on "basket" of an e-shop

Can You send your code Please??
Reputation Points: 10
Solved Threads: 0
Light Poster
billah_norm is offline Offline
25 posts
since Sep 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: automatic type conversion
Next Thread in PHP Forum Timeline: Rows not added correctly when using 'INSERT'





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC