Next Problem ups help me again

Hellow
i am create 3 table “code , name , father” and field number
code name father
123 ertty wert
123 erfrf rtgt
123 erfff eee
123 eeee wwww
124 qqqq eeeee
124 www cccc
124 // //
124 // //
125 // //
125 // //
126
126
125
126

so on…

i am see record only 123 to 125 all record with code name father please tell me how can…
i am using this code
$query = “Select * from female where code=‘123<125’”;
$result = mysql_query($query);
$count=mysql_num_rows($result);

Select * from female where code BETWEEN 123 AND 125