This code could be 'smartened up' in several ways. One would be to use javascript to see if any of the entries were made. Another would be to make a fifth default entry that would automatically be chosen or checked, something like "No choice made.'. Neither radio or checkbox entries return anything to the server if they aren't checked. Another way might be to use select boxes, a little more complex but foolproof.

haseeb

08-18-2012, 11:21 PM

Thanks for the help and andrew and djm0219 its working now i simplified it more. Iam new to php iam just learning php by creating little simple scripts.