# Dynamically updating and saving webpages

**URL:** <https://forum.kirupa.com/t/dynamically-updating-and-saving-webpages/10164>\
**Category:** Uncategorized\
**Created:** [December 26, 2002, 4:30am UTC](https://forum.kirupa.com/t/dynamically-updating-and-saving-webpages/10164 "2002-12-26T04:30:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jubba](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@Jubba](https://forum.kirupa.com/u/Jubba)\
**Post date:** [December 26, 2002, 4:30am UTC](https://forum.kirupa.com/t/dynamically-updating-and-saving-webpages/10164/1 "2002-12-26T04:30:09Z")

</div>

Right now it is a guestbook thing, but I created this whole thing in order to dynamically update individual webpages. It was created so I could (or my client could) easily update smaller sections of their site without actually logging into the control panel.

Heres what I have:

I have an HTML file (htmlform.html) that has form inputs. When you press the button it sends the variables to a PHP file (phptest.php) that organizes the variables and writes them to a text file. Then the last PHP file (phpRec.php) recieves the info from the text file and writes them out in a table.

My question is:

Is there an easier way that I can’t see?

Here is a link to what I have:

[http://www.livetoskateboard.com/cssTest/htmlform.html](http://www.livetoskateboard.com/cssTest/htmlform.html)

I intend to make it much more comprehensive, allowing the individual to insert images and such…but this is just the bare-bones of it.

peace,  
Jubs

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 6:02am UTC](https://forum.kirupa.com/t/dynamically-updating-and-saving-webpages/10164/2 "2002-12-27T06:02:21Z")

</div>

If you know asp it is extremely easy…use the “post” action from your form then have a asp page with a series of request.form statements make each form element into a variable like this

dim strExample

strExample = request.form(“formElemet”)

Then you can put those values into session objects or cookies or open a database connection and use the data as pleased. Let meknow if you need a better example of this.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 6:08am UTC](https://forum.kirupa.com/t/dynamically-updating-and-saving-webpages/10164/3 "2002-12-27T06:08:52Z")

</div>

I don’t know asp. I only know a limited amount of PHP, and I have no clue how to use PHP along w/ mySQL. Database interaction confuses the crap outta me.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 31, 2002, 8:22pm UTC](https://forum.kirupa.com/t/dynamically-updating-and-saving-webpages/10164/4 "2002-12-31T20:22:03Z")

</div>

Btw Jubba you should get a javascript form field validator.  
Theres lots of blank fields in your guestbook because theres no validator.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 31, 2002, 9:36pm UTC](https://forum.kirupa.com/t/dynamically-updating-and-saving-webpages/10164/5 "2002-12-31T21:36:18Z")

</div>

Yeah I’m workin on it. I haven’t had a chance to look at it since I posted that message.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 5, 2003, 3:19am UTC](https://forum.kirupa.com/t/dynamically-updating-and-saving-webpages/10164/6 "2003-01-05T03:19:54Z")

</div>

ppl, btw… for mysql tutorials, just visit [http://www.sqlcourse.com/](http://www.sqlcourse.com/) you will thank me later 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 5, 2003, 6:21am UTC](https://forum.kirupa.com/t/dynamically-updating-and-saving-webpages/10164/7 "2003-01-05T06:21:50Z")

</div>

I will thank you now and learn later. Thank you. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 5, 2003, 8:29pm UTC](https://forum.kirupa.com/t/dynamically-updating-and-saving-webpages/10164/8 "2003-01-05T20:29:43Z")

</div>

heh, np 😉
