Re: Ok, this might make more sense

From: Date: Sat, 24 Feb 2001 00:51:29 +0000
Subject: Re: Ok, this might make more sense
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-41387@lists.php.net to get a copy of this message
Thanks for your help. I do work with MySql and that was going to be my final option. But because I am still in the learning stages of PHP I was hoping for a simple save command. Not to worry. MySql it is. Thanks, Yobro ""Chris Lee"" <lee@mediawaveonline.com> wrote in message news:9748a0$5o2$1@toye.p.sourceforge.net... : Your asking a huge question and expecting a small answer ie. : : php_save(); : : the anser your looking or is not small, im sorry. your asking a big : question, and with all big questions comes a big answer. : : Do you know how to use db's ? mysql? postgres? I'll assume you do. save you : changes in a db, pull those variables rom the db and arange the client pages : around this data. : : http://phpbuilder.com/columns/jesus19990308.php3 : : has an article on learning to use mysql. : : if you dont have a db you can use, you could use xml, I would recommend : installing a db before you tackeled this, you said you have till monday, : this doesnt leave alot of time to learn xml and all that is assisiated with : it. your going to be pushing it to learn a db language by then. : : when php is run all the variables are rememberd, untill... php stops : running, then all is lost, this is why you need a db, to remember all the : data. you could use sessions, but this is not what your looking for. : sessions are for remebering *one* persons info, not many people's, and not : for long term, short term. : : -- : : Chris Lee : Mediawaveonline.com : : ph. 250.377.1095 : ph. 250.376.2690 : fx. 250.554.1120 : : lee@mediawaveonline.com : : : ""YoBro"" <nospam@brochures.co.nz> wrote in message : news:9746nm$gh3$1@toye.p.sourceforge.net... : > Hi, : > : > My last message on this topic was a bit hard to translate. So here is the : > thought out version. : > : > 1. I have a page on a server called admin.php (protected by htaccess : for : > admin use only) : > 2. This page holds variables that are changed by form elements. : > (Checkboxes etc) : > And this in turn effects different parts of the site it is being : used : > in. : > 3. I want to know how to keep the changes to the form. : > : > Example: If i bring up the admin.php page in my browser and click a : > checkbox, it permantly keeps it changed until i decide to change it again. : > : > 4. Is there some sort of PHP save command, that saves the state of a : > page. : > 5. Any ideas? : > : > Please help, I gotta have this worked out by Monday or I'm dead. : > : > -- : > Regards, : > : > : > YoBro : > ------------------------------------------------------------- : > DO NOT REPLY TO THIS VIA EMAIL : > PLEASE USE THE NEWSGROUP : > All emails sent to this address are automatically deleted. : > This is to avoid SPAM! : > ------------------------------------------------------------- : > : > : > : > -- : > PHP General Mailing List (http://www.php.net/) : > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net : > For additional commands, e-mail: php-general-help@lists.php.net : > To contact the list administrators, e-mail: php-list-admin@lists.php.net : > : : : : -- : PHP General Mailing List (http://www.php.net/) : To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net : For additional commands, e-mail: php-general-help@lists.php.net : To contact the list administrators, e-mail: php-list-admin@lists.php.net :

« previous php.general (#41387) next »