Go back
Website help, php and MySQL

Website help, php and MySQL

General

c
'Sir' to you

Osaka, Japan

Joined
30 Sep 05
Moves
40257
Clock
25 Jul 07
Vote Up
Vote Down

OK, here I go: Any experts out there?

So, on my website, I've got a registration form, and this is what I want:
"Submit" creates a profile page, which must be confirmed; "Confirm" creates a password (and sends it to the e-mail address entered in the reg. form), sends the data to an e-mail address, and puts it into a MySQL database (4.1 and 5 both set up). Also a redirect to a payment system. "Edit" returns to the filled-in reg. form. "Cancel" returns to index page.

And that's just the easy bit...

Please post here or PM me if you're able and willing to help.

s

Joined
23 Sep 05
Moves
11774
Clock
25 Jul 07
1 edit
Vote Up
Vote Down

Originally posted by c99ux
OK, here I go: Any experts out there?

So, on my website, I've got a registration form, and this is what I want:
"Submit" creates a profile page, which must be confirmed; "Confirm" creates a password (and sends it to the e-mail address entered in the reg. form), sends the data to an e-mail address, and puts it into a MySQL database (4.1 and 5 both set up). ust the easy bit...

Please post here or PM me if you're able and willing to help.
So, you have three pages:

registration.php
confirmation.php and
index.php

In registration.php you have a form with registration data (name,
location, email and whatever). You use the action argument of the
form element to send the user to the confirmation page.

The confirmation page presents the data supplied by the user and gives
him/her three options: edit, cancel and OK.

edit sends the user back to registration.php (with the data filled
in). cancel aborts the whole operation and send the user to
index.php. And, finally, OK sends the user to confirmation.php,
but this time this page sends an email to the users email address and
adds the user to the database, after which it presents a message stating
all went well (if all went well). Is that pretty much it?

c
'Sir' to you

Osaka, Japan

Joined
30 Sep 05
Moves
40257
Clock
26 Jul 07
Vote Up
Vote Down

Originally posted by stocken
So, you have three pages:

registration.php
confirmation.php and
index.php

In registration.php you have a form with registration data (name,
location, email and whatever). You use the action argument of the
form element to send the user to the confirmation page.

The confirmation page presents the data supplied by the user and gives
him/her th ...[text shortened]... which it presents a message stating
all went well (if all went well). Is that pretty much it?
Well, that's what I'd like...

I don't have the .php pages yet, because I don't know php.

l

Milton Keynes, UK

Joined
28 Jul 04
Moves
81593
Clock
26 Jul 07
Vote Up
Vote Down

Ok, here are a couple of good starting points:

http://www.php.net/
http://www.mysql.com/

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.