Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 07-21-2004, 04:23 AM submit
Skilled Talker

Posts: 51
Location: Australia
Trades: 0
Hi all
I am making a remote control sailing website for a friend & he would like for his members to be able to submit there names, boat numbers, contact infomation, & and so for, i beleve you have to use batabase, but me no nothing about it.
Can someone piont me in the right direction.
or if someone knows of a free programe that can help me, that would be supper.

Yours Ash.
Ash:o is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-21-2004, 09:14 AM hi
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
Im not too sure about how to do this, but it deffinately be best to use php and mysql databasing. I have a code here. Dont know if it will help you but...

The most important thing to notice when dealing with HTML forms and PHP is that any form element in an HTML page will automatically be available to your PHP scripts.

Look at the following example of an HTML form:

<html>
<body><form action="welcome.php" method="POST">
Enter your name: <input type="text" name="name" />
Enter your age: <input type="text" name="age" />
<input type="submit" />
</form></body>
</html>

The example HTML page above contains two input fields and a submit button. When the user fills in this form and hits the submit button, the "welcome.php" file is called.

The "welcome.php" file looks like this:

<html>
<body>Welcome <?php echo $_POST["name"]; ?>.<br />
You are <?php echo $_POST["age"]; ?> years old!</body>
</html>

A sample output of the above script may be:

Welcome John.
You are 28 years old!

Here is how it works: The $_POST["name"] and $_POST["age"] variables are automatically set for you by PHP. The $_POST contains all POST data.

Note: If the method attribute of the form is GET, then the form information will be set in $_GET instead of $_POST.
__________________

Please login or register to view this content. Registration is FREE
- Tumblog with thoughts, quotes, links, videos, images and my creations.

Please login or register to view this content. Registration is FREE
- The best free web browser.

Please login or register to view this content. Registration is FREE
- Firefox is now Firefail.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 07-21-2004, 12:09 PM
Jdawg's Avatar
Experienced Talker

Posts: 38
Location: NB, Canada
Trades: 0
A simpler, but less professional way to do this would be to have the ACTION attribute point to a mailbox:
i.e. <form method="post" enctype="text/plain" action="mailto:john@email.com">
the enctype is just the encryption for the email browser to understand.

the email would look something like this:
name=john
age=20

In order to distinguish what's what in the email, you must give the form a "name" attribute.
<input type="text" name="name">
__________________
Jdawg

Please login or register to view this content. Registration is FREE


"I know because I must know, it is my purpose" - keymaker
Jdawg is offline
Reply With Quote
View Public Profile
 
Old 07-21-2004, 04:25 PM
OtterBob's Avatar
Super Talker

Posts: 116
Location: Greece, NY USA
Trades: 0
What is your friend using as a membership system, assuming he's using one? You may be able to find a mod for the program that will "bolt onto" it without you having to do a lot of work.
__________________
"What? Oh {darn}! Now my last words are gonna be 'what'." - Otter Bob (Burt Reynolds), The Cherokee Kid
OtterBob is offline
Reply With Quote
View Public Profile
 
Old 07-21-2004, 06:09 PM
david's Avatar
King Spam Talker

Posts: 1,314
Location: Glasgow, UK
Trades: 0
If you just want to make a simple database of this take a look at:
http://www.freewebmasterhelp.com/tutorials/phpmysql/
That tutorial gives you all the info you need to make a contacts database, but you could easily customize it for your own needs.

If you don't know PHP, a good start would be:
http://www.freewebmasterhelp.com/tutorials/php/
__________________

Please login or register to view this content. Registration is FREE
- Everything a webmaster needs - for free

Please login or register to view this content. Registration is FREE
- Free web hosts reviewed and rated

Please login or register to view this content. Registration is FREE
- Impartial hosting directory - Add your host today for FREE
david is offline
Reply With Quote
View Public Profile
 
Old 07-21-2004, 09:37 PM Quote OtterBob
Skilled Talker

Posts: 51
Location: Australia
Trades: 0
Quote:
Originally Posted by OtterBob
What is your friend using as a membership system, assuming he's using one? You may be able to find a mod for the program that will "bolt onto" it without you having to do a lot of work.
Unforgently it's up to me to make one, This site & club i & he is putting together is all new to him as well.
I am not getting payed ether, what we do for friends. lol
But realey i have heaps of time up my sleave. so i don't mined.
Yours Ash.

Last edited by Ash:o; 07-21-2004 at 10:46 PM..
Ash:o is offline
Reply With Quote
View Public Profile
 
Old 07-22-2004, 10:44 AM Thanks!
Jdawg's Avatar
Experienced Talker

Posts: 38
Location: NB, Canada
Trades: 0
Quote:
Originally Posted by david
If you just want to make a simple database of this take a look at:
http://www.freewebmasterhelp.com/tutorials/phpmysql/
That tutorial gives you all the info you need to make a contacts database, but you could easily customize it for your own needs.

If you don't know PHP, a good start would be:
http://www.freewebmasterhelp.com/tutorials/php/
Thanks for the the tutorial links David. I have been meaning to learn more on PHP.
__________________
Jdawg

Please login or register to view this content. Registration is FREE


"I know because I must know, it is my purpose" - keymaker
Jdawg is offline
Reply With Quote
View Public Profile
 
Old 07-22-2004, 11:03 AM hi
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
Another place for great tutorials.

www.w3schools.com


Mik
__________________

Please login or register to view this content. Registration is FREE
- Tumblog with thoughts, quotes, links, videos, images and my creations.

Please login or register to view this content. Registration is FREE
- The best free web browser.

Please login or register to view this content. Registration is FREE
- Firefox is now Firefail.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 07-22-2004, 06:35 PM A thankyou to all
Skilled Talker

Posts: 51
Location: Australia
Trades: 0
HI all
Thankyou for the links & scrips, by the way i hope to put the site in reviwes in the next week so look out for it not finnished
but i wounld like some viwes on it.

Yours Ash
P.S. me have a lot of things to discuse about it hope you
can all help, so untill then keep your eye open. thanks agian guys.

Last edited by Ash:o; 07-22-2004 at 06:38 PM..
Ash:o is offline
Reply With Quote
View Public Profile
 
Old 07-22-2004, 08:35 PM Help with the submit button
Junior Talker

Posts: 1
Trades: 0
I want the user to fill the form At end when submit button is clicked, the email should go to people notifying them. For some reason, one email is not working. Is it because, the email has " name@" only? should it rather be name@dot.com? Is that the problem?

Thanks for the help.
mikeN is offline
Reply With Quote
View Public Profile
 
Old 07-22-2004, 10:58 PM
Skilled Talker

Posts: 51
Location: Australia
Trades: 0
Quote:
Originally Posted by mikeN
I want the user to fill the form At end when submit button is clicked, the email should go to people notifying them. For some reason, one email is not working. Is it because, the email has " name@" only? should it rather be name@dot.com? Is that the problem?

Thanks for the help.
HI mikeN you would get a better response if you place a thread i would say. As far as i no emails dont work without .com, but me dont know much.
oo i right cilcked on the name@ email and notest a : before the name@ onece again i dont know much but that could be it to. Sorry me just learning to but if it helps let me know please
Yours novice Ash
P.S.onece again you may get a better response posting a thread mate. sorry if it dont help.
Ash:o is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to submit
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.70025 seconds with 12 queries