Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Store, write, then read PHP variables

Status
Not open for further replies.

mikemedia

Programmer
Apr 28, 2006
39
US
Sorry for asking what be a standard question on this forum, but the forum's "Search" is down.

PHP is displaying the values of variables just fine. But I need the values to stay and be available for many users and sessions. Each value must be displayed in a unique cell of a table until the original form is updated.

From reading, I suspect I need a Cookie of Session()but I can't grasp the syntax.

Finally, do I overwrite the storage file's data or append? If appending how do I retrieve a specific (last) entry?
 
if you want data to be available to multiple users across multiple sessions then you need to store the data in some persistent form. this could be on the filesystem or in a database. cookies and session files are unlikely to be useful here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top