How do you retrieve results from a PDO Array using this format?
I've got to mimic the approach taken by some preexisting code in the way I retrieve the results from a SELECT statement. Generally, I use PDO::FETCH_OBJ just because it's familiar and straight forward. In this instance, I'm using PDO::FETCH_ASSOC and I'm stuck.
I've got a recordset of 32 rows. Here's my code thus far:
$selectTerms=$conn->prepare("SELECT * from terms order by discipline, term");