The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
I'm guessing this must be pretty simple,
read the file,
find the data,
include the data into the page,
Thing is, I have no idea of the kind of script I need, evrything I currently have doesn't do this kind of thing, anyone know how I can or where I can find out how to, please :)
I know it's a lot better than text files..yadda, yadda, yadda, but if it was easy everyone would learn it and get big buck wages.
Though, I would just say keep is simple and stick all the values in one file and just leave it there :oP but thats just me :o)
I want one file with all the date so I only have to update one page :D
Maybe, have one file, data1.php, with:
$name = "";
$mail = "";
$dob = "";
and data2.php with
include("data1.php");
$age = "";
$url = "";
How does that sound??
$name = "";
$age = "";
$mail = "";
$url = "";
$dob = "";
page 1 needs: $name, $mail, $dob,
page 2 needs: all
but when I update at the moment, I have 2 pages od the data and have to include it seperatly, I want to be able to call some of the data from the page without taking all of it.
Kinda like what MySql does but with text files :)
So, you've got say, 5 pages of info.
You want these details to be included into 2 different pages??
- BUT, you only want certain data available to the 2nd page?
Wrong again???
I've got few pages of data which need to be included into 2 pages, 1 has about 10 strings, the other has 3 but they use the same info. :)
I think i explained it better that time.
Maybe there is a simple way of doing what your looking for, but I, unfortunatly, don't know what it would be, sorry.
Just seems to me that your making more work for yourself than is needed :o).
What I meant was, I already have that date in fog.php
fog.php:
$fname = "Fog";
$lname = "master";
?>
thing is, I want to include both strings fron fog.php into one page, and only the $fname into another page, how do I do this? :D
Why not just have the data you want aranged into a seperate file, and include that file in the 2 pages you mentioned.
Does that sound right, or have I got the wrong impression as to your request?