Getting a string
#1

How do i get a string form a variable etc like strtok

Which one is it?
Reply
#2

Don't worry, I didn't explain enough, basicly I was try to load a string from a database and asign it to a variable but I was using the wrong one (strval) so it was turning it to null (int). I looked on wiki again and used strlen and it worked
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)