|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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) ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > Database html and mysql and php |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|