I have a query where I get a list of offices, and I use it to build a select box. The first time I access the query results to build a list of offices, no problem. It looks like this...
while ( $my_office = mysql_fetch_array( $office_result )) {
Now I have to build a list of offices again on the same page. If I try to build the list again using the same code...
while ( $my_office = mysql_fetch_array( $office_result )) {
I don't get anything... I tried changing the variable name $my_office to something else, still nothing it output in my while loop. It's like the $office_result is spent after the first time I used it.
What's up with that? 🙂 Thanks in advance...