If anyone can look at the following. This is what i have:

It's just separate txt files holding a single array. Every array key could be different depending on the file, except for the βcreatedβ one, which is older than 30 days β the file is deleted.
The code i am using to read the files is:
Save the file:
$output = http_build_query($text, 'flags_');
$fd = fopen($page, 'w');
fwrite($fd, $output);
fclose ($fd);
unset($output);
Save the file:
$page = $_GET['page'];
$fd = fopen($page, "r");
$data = fread ($fd, filesize ($page));
fclose ($fd);
parse_str($data, $newArray);
//$newArray now contains what is used in the template.
// IF $newArray[βCreatedβ] is over 30 days ago β delete the text file -- and tell user their temp page has gone.
So every page load will just be loading the text file - no saving to the file, not queries, just loading the whole contents. If the last item in the array is older then 30 days -- it is removed, and the user is told it is gone.
The only way i can think of doing the above with a database is the following table:
PAGE
ARRAY
CREATED
As the fields are not the same, i couldnt have seperate ones for "NAME, AGE, ETC".
If no other queries are performed - would it still be better to use a mysql database? Usally when the same queries are done over and over, you would cache the query -- which would take it back to just loading txt/xml files again anyway.
Thanks for the help π