Re: dynamically generating and retrieving page data using flat files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux