The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How to make form values appear in a list?, html php forms and lists
zoechs
post Mar 22 2010, 11:58 AM
Post #1





Group: Members
Posts: 4
Joined: 22-March 10
Member No.: 11,459



First off, I am super-new to html.

But I work for a ministry that takes prayer requests for people on our website.
Right now, I have it set up so they fill out a (php) form with their name, prayer request, email addy, etc...and it emails all that to me when they click submit.

here's the page...don't laugh at my html work:
http://www.zoechs.org/prayerroom.html

I want to set up a system so after they fill out the form, it still emails me, but also it will post parts of the form (leaving out their name and email) on a separate page.
So they can have their prayer request added to a list that people can look at and read, and pray for others.

I just don't know how to get the form values to automatically appear in a list on another page.

Any help would be awesome...and God will think you're really cool! tongue.gif

john@zoechs.org
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
zoechs
post Mar 22 2010, 12:27 PM
Post #2





Group: Members
Posts: 4
Joined: 22-March 10
Member No.: 11,459



bump

Any help would really be nice. If not, I will have to google it some more...and it's a vague thing to look up on google.

TYTYTY
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 22 2010, 01:42 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,734
Joined: 9-August 06
Member No.: 6



You can't do that with HTML alone. You need a program/script running on the server.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
zoechs
post Mar 22 2010, 02:29 PM
Post #4





Group: Members
Posts: 4
Joined: 22-March 10
Member No.: 11,459



QUOTE(pandy @ Mar 22 2010, 01:42 PM) *

You can't do that with HTML alone. You need a program/script running on the server.


the form is actually PHP file, embedded into the html...will that do the trick?
or do you mean I have to use java or something
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 22 2010, 03:14 PM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,734
Joined: 9-August 06
Member No.: 6



Sorry, didn't see you said that. PHP is fine, but you need to write a script that does what you want.

I move this to the server side scripting forum. Maybe you can get more detailed help.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
zoechs
post Mar 22 2010, 03:56 PM
Post #6





Group: Members
Posts: 4
Joined: 22-March 10
Member No.: 11,459



QUOTE(pandy @ Mar 22 2010, 03:14 PM) *

Sorry, didn't see you said that. PHP is fine, but you need to write a script that does what you weant.

I move this to the server side scripting forum. Maybe you can get more detailed help.


cool...thanks for being the only responder to my 1st thread ever!

I guess a more specific question is:

How can I make each part of my php form into a value that I can then insert into a script. With php, don't I have to give each part of the form a nickname, and then use the nicknames when making a script? (Ex: I make the email address = 'EMAIL' or something. Then wherever I put in 'EMAIL' in the script it will actually insert the full email address.)

Again, I'm very new to this.
I don't even know if my questions make sense.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 3rd May 2024 - 09:48 PM