<?php$ret = array( 'name' => isset($_POST['name'])? $_POST['name'] : '', 'gender' =&g...