On 5/8/2010 9:41 PM, David Mehler wrote:
Hello,
I've got a project that i have to reference information stored on one
page from another. This page I won't be visiting first, and at the
moment i'd prefer to use flat php files, but should that prove to hard
i'll transition to a mysql database. I'm looking for simplicity and
maintainability.
I've got a page of individuals, their names, positions, and a brief
summary of them. On the main page I want to put their names and
positions in an ordered list, pulling that information from the second
page. The idea is whenever the second page is updated the main page
will automatically update.
Suggestions welcome.
Thanks.
Dave.


Consider using arrays. Give each individual a unique ID and use for your keys

Serialize() the array and put_file_contents()

file_get_contents and unserialize()

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to