Hi, I am a Web developer with background in C++, I've already done several projects using C++ at this site but that was 4 years ago and apparently my reviews got lost after they changed the site name from rentacoder.
If you pick me, consider this job as done. here is the code in PHP since this is only a test so I can already give the finished code here:
<?php
$auto = array('Ford','Mercedez','Toyota');
echo '<html>';
echo '<head>';
echo '<title>HTML FORM SUBMISSION TEST</title>';
echo '</head>';
echo '<body>';
echo '<form method="POST">';
echo 'Name: <input type="text" name="n" value="'.$_POST['n'].'"/>';
echo '<br/>Male: <input type="radio" name="g" value="Male" '.($_POST['g']=='Male'?'checked="checked"':'').' />';
echo '<br/>Female: <input type="radio" name="g" value="Female" '.($_POST['g']=='Female'?'checked="checked"':'').' />';
echo '<br/><input type="checkbox" name="h" value="human" '.($_POST['h']=='human'?'checked="checked"':'').' /> I am human';
echo '<br />Auto <select name="a">';
foreach($auto as $v) {
echo '<option '. (($v==$_POST['a']) ? 'selected="selected"' : '').' >'.$v.'</option>';
}
echo '</select>';
echo '<br/><input type="submit" name="submit" value="submit"/><br/>';
echo '</form>';
echo '</body>';
echo '</html>';
?>
Thanks,
Paul