★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum5/HTML/001046.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  PHP
  Edtitng Variables

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Edtitng Variables
Ryan
Member
posted May 06, 2000 04:09 PM     Click Here to See the Profile for Ryan   Click Here to Email Ryan     Edit/Delete Message Reply w/Quote
Im makeing a front end for a countdown script. What I would like to do Is have a form with the current settings displayed in the appropiate boxes (called from variables) I got that part down. Icant figure out how to change the values of the variable so when I hit submit it saves them. Any suggestions?

Thanks,
Ryan

SepodatiCreations
Member
posted May 07, 2000 12:15 AM     Click Here to See the Profile for SepodatiCreations   Click Here to Email SepodatiCreations     Edit/Delete Message Reply w/Quote
You'd have to use javascript to to change the values automatically. or manipulate the values with PHP before you print them into the boxes.

If the problem is how to actually save the variables, i don't think i have enough info. are you putting them into a database, file, etc??

Whatever the form elements are named become variables in the 'action' file where the form is submitted to. if you have:
<form method="post" action="/old?u=http%3A%2F%2Fwww.devshed.com%2FTalk%2FForums%2FForum5%2FHTML%2Fanalyze.php3&y=1999">
<input type="text" name="job" value="<?php echo $inputed_value; ?>">
</form>

Then in analyze.php3, you can access the whatever was in the text box by the variable $job, whether it was the inputed value you said you can already put there, or whatever you changed it too.


Maybe no help, but that's my 2 cents....

---John Holmes
---www.SepodatiCreations.com

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.