Sorry if I don't make this too clear, what I'm doing is creating a text based adventure game in PHP, a lot like Colossal Cave.
I do not want to recreate my databases for every user so I hoping to write all the user date into a file and read variables from it when I require.
For example the file would be like this:
I know a tiny bit about fopen, fseek and fwrite but I do not know how I would go about extracting the text as variables into PHP and writing them back in.
Any help would be gratefully recieved