Hello everyone... :-)

Ok i have a form which is populated dynamically.

Part 1
How to code the form if you want it to be suitable for PHP

I did it this way
Code:
				<div class="jdpicker_w">
						<input type="text" name="date1" id="test2"/>		
				</div>
					<select name="subject_id" id="">
						<option value="1">Logic Design</option>
						<option value="2">Programming with JAVA</option>
					</select>

				        <input type="hidden" name="id[]" value="1"/>
				        <input type="checkbox" name="reason[]" />
				        <input type="checkbox" class="absence1" name="absence[]" value="1"/>
					
					<select name="hours[]" id="">
						<option value="">Select Hours</option>
						<option value="1">1</option>
						<option value="2">2</option>
						<option value="3">3</option>
						<option value="4">4</option>
					</select>
Part 2

How to go about it if i want PHP to check only the input where absence is checked

Part 3
How to go about validating it ?