I have an array I would like to search that is being built from a data base as follows
$result = mysql_query("SELECT id_one, id_two FROM accounts LIMIT 60");
while ($row = mysql_fetch_array($result, MYSQL_NUM)) {
printf("ID_ONE: %s ID_TWO: %s", $row[0], $row[1]);
echo "<br>";
}
What I would like to do is after the array is created echo out a certain row from that array.
Soi if the array looks like this
key id_one id_two
1 458 444
2 468 455
3 467 466
I can search the array for 468 and it would return 455
Thanks I will be posting back if I find any new information my self.