MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old March 19th, 2008, 11:56 AM
lazairus lazairus is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 1 lazairus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 9 sec
Reputation Power: 0
Database html and mysql and php

PHP newbe is

Question , i am trying to design a html form over four pages that contain information about a user, the form then is processed by a transaction script and then added to a mysql database.

what i would love to know, is how to post 4 pages of information ie an application form , into a my database.
ie the user enters the first page, then clicks next .enters the next page of information etc etc until page 4., then after all infromation is processed the user is then redirected to the members area.
>how to do submit data, hold it in the database,

ie what im doing is entering data over 4 pages, which is not semetric, ie asemtric, ie the data is not entered all at once,
the information is going to different tables of the database.

ie the information is going to different places, how to do that?



would this be right ,

i have a html form
__________________________________________________
<tr>
<td><span class="style15">First Name </span></td>
<td><label>
<input type="text" name="fname" size "9" maxlength="20"/>
</label></td>
</tr>

Q is the syntax right , i mean is name size and max length in the right order?
_ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _
<form action="addmember.php" method="post">


Q. where do i put this ? at the top of the html form, bear in mind my html form has tables around each field
___________________________________
i have a php script

switch ($action) {
case "add member":
$sql = "INSERT IGNORE INTO members_details (mem_id, title, first_name,last_name, date_of_birth, address_line1, address_line2, county/state, postcode, country, telephone_number, mobile_number, email_address ) " .
"VALUES ('00000000')";
$result = mysql_query($sql)
or die(mysql_error());

Q. so where VALUES is. l am refrencing the values declared in the html form.

thanks in advance , (work in progress for college project)

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > Database html and mysql and php


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway