...

View Full Version : Submit question



NTGre
12-18-2005, 08:53 PM
Hello world:)

i was using this to post some infos in my database


<form enctype='multipart/form-data' action='upload.php' method='post' name='upload_form'>
<table width='90%' border='0' align='center' style='width: 90%;'>
<tr>
<td>
Select Category
<select name='category'>
$photo_category_list
</select>

Maxi,LP,CD,DVD
<select name='category1'>
$photo_category1_list
</select>
</td>

</tr>

and i m tryied to make it look better..
so i made this..


<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FF0000" bgcolor="#CCCCCC">
<tr bgcolor="#333333">
<td colspan="5"><div align="center" class="style4"><span class="style2">Wellcome $USER </span></div></td>
</tr>
<tr bgcolor="#CCCCCC" class="style1">
<td><form action="" method="post" name="form1" class="style4">

<div align="right">Media type
<select name="select">
<option>Pls Select This Field</option>
</select>
</div>
</form></td>
<td><div align="left"><span class="style4"><span class="style5"><span class="style6"><span class="style7"><span class="style8"><span class="style9"><span class="style4"></span></span></span></span></span></span></span></div></td>
<td><form action="" method="post" name="form2" class="style4">

<div align="center">Typos
<select name="select">
<option>Pls Select This Field</option>
</select>
</div>
</form></td>

the problem is that i m using forms that i want to post all in my database when i submit.
how i can do this???

rlemon
12-19-2005, 06:52 PM
you should only use a single form

<form>
<table>
...
<element></element>
...
</table>
</form>

name your elements properly and then retrieve them when you submit.

NTGre
12-19-2005, 10:59 PM
:thumbsup: thnx:thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum