Hey, just trying to figure out what im doing wrong with this code, the value for drop down box "construct" is not being entered into the database, and comes up with Value Error on row....
Here is a snipplet of the coding:
$insert = "INSERT INTO users (
username,
password,
realname,
regdate,
email,
make,
model,
year,
construction,
interior,
exterior,
audio,
suspen,
awards,
future,
last_login)
VALUES (
'".$POST['uname']."',
'".$POST['passwd']."',
'".$POST['realname']."',
'$regdate',
'".$POST['email']."',
'".$POST['make']."',
'".$POST['model']."',
'".$POST['year']."',
'".$POST['construct']."'
'".$POST['interior']."',
'".$POST['exterior']."',
'".$POST['audio']."',
'".$POST['suspen']."',
'".$POST['awards']."',
'".$POST['future']."',
'Never')";
<tr>
<td width="45%">Class:</td>
<td width="70%"><select name="construct" size="1">
<option value="1">Construction Class</option>
<option value="0">Member Class</option></select></td>
thanks in advance