Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A Session As An Array


Guest

Recommended Posts

Posted

I'm trying to finish up my site, and I'm having a problem with the way how I have my sessions being read.

 

I finally got my site to repeat the shipping options and have it do what I want it to, but now I'm trying to get the information to be read correction, so I've tried making my sessions for the information into arrays. The problem is, when I try to reference back to a certain part of the array, which is a string, I get just the first letter of that value. I know that this is because I'm doing $my_string[$i], but I don't know what else I need to do in order for this sucker to read right.

 

Any ideas?

Posted
I'm trying to finish up my site, and I'm having a problem with the way how I have my sessions being read.

 

I finally got my site to repeat the shipping options and have it do what I want it to, but now I'm trying to get the information to be read correction, so I've tried making my sessions for the information into arrays. The problem is, when I try to reference back to a certain part of the array, which is a string, I get just the first letter of that value. I know that this is because I'm doing $my_string[$i], but I don't know what else I need to do in order for this sucker to read right.

 

Any ideas?

 

Nevermind. I made my own way of doing it. Thanks though!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...