/    Sign up×
Community /Pin to ProfileBookmark

Using PHP dynamic pages

hey,

i am making a page on my webpage that will allow users to input their name, address, checkbox some things and send a note to me. i have the page complete and it has the text fields, but now i need to know where this information will be submitted to. do i need to make a new html file for it to be stored or what? thanks for the help!

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundryAug 11.2004 — The best option would probably be to send the form details to your email address. Check out this page:

http://webdevfaqs.com/php.php#mailer

Adam

P.S. Shouldn't this be in the PHP forum?
Copy linkTweet thisAlerts:
@rzanwu36authorAug 11.2004 — is the PHP file a different file or what?? ahhh i really need help. i have the part:

<form action="mailer.php" method="post">

Name: <input type="text" name="name">

Email: <input type="text" name="email">

Message: <textarea name="message"></textarea>

<input type="submit" name="submit" value="Submit Form">

</form>

for my form, but then where does the <PHP? part go... im so confused!
Copy linkTweet thisAlerts:
@AdamGundryAug 12.2004 — Did you download the example? You need to create a file called mailer.php which contains nothing except the section from <?PHP to ?>. You may need to edit the options at the top of the script to match what you want to do.

Adam
×

Success!

Help @rzanwu36 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...