stealthc
Starting Member
21 Posts |
Posted - 19 May 2001 : 11:17:02
|
Ok I'm just wondering if people can help me figure out this little problem. I have the settings of the site stored in a string, which is contained under a users particular session which is stored in the database and recalled using a session ID number held in the client's browser as a cookie. Now here's the problem: I read the values from the database like this: YNY Item number 1 is y, item number 2 is n, item number 3 is y. I want to change the N into a Y in the middle of the string and return it into the database, thus the result is that the script will get as querystrings, the item number "2" and the value for it "Y". How can I do this when querystrings are being returned? They are strings not numbers....how can I get a blinking number returned from a link? I don't want a string, I want a number, something that I can work with LIKE a number. WTF. It doesn't wanna work...How do I deal with querystrings as numbers?
|
|