array problem

[php]

<?php //$conn=mysql_connect("localhost", "root", ""); //$db=mysql_select_db ('geotex', $conn) or die (" error "); ?> Untitled Document

i have “perosn” table in database “geotex” with 3 fields sex age and person
date in table like tis

sex name age
male abc 33
male xyz 2
female 123 25

sex
Name
Age
" size="20 " />
" size="10" />
<td width="134"><div align="center">
  <input name="select" type="submit" value="SELECT" />
</div></td>
i wanna show result with array position mean in first row i need abc in name filed 33 in age field and male in sex field and xyz in second row as well

[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service