PDA

View Full Version : CGI!!!!




Scav
04-12-2001, 01:58 PM
i have a file saved that has a buncha junk like 10|blah|text|whatever. the thing is when i load the file and split all that info into an array or seperate variables all the information is in string form. I need it to recognize 10 as 10 though not a one and a zero as it does in string form. If anyone can help me out with this i would really appreciate it cause as it works now it reads 10 as 1 and 0 and when you add 1 to 10 in string form you get 2.

I think what im looking for would be something kinda like javascript's eval() command.