Question from a total newbie here. How do I reference a specific row within a two-dimensional array? Iterating through the array works fine, but in this case I want to pass row1 to function one, row2 to function two and row3 to function three. The while and foreach options don't appear to fit this situation.
The array returned from the database consists of 15 columns and 3 rows.
I didn't want to have to break out all the values and pass the 15 seperate values in row one to function one. Thought there must be a better way.
This is what I am trying and have not gotten to work yet.
$arrScf = mysql_fetch_array($incoming_result);
scf_one($arrScf); <-- How do I tell it that it is to use row one of the array?
scf_two($arrScf); <-- Same here, needs to use row 2
scf_three($arrScf); <-- needs row 3
Any suggestions? or should I just do things the long way.
Thanks for any help you can provide.
anya