Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37670

Re: Moodle 2.x database query

$
0
0
by Andrew Normore.  

Found the solution. Sharing.

 

$results = $DB->get_records('extrafields_type');

foreach($results as $row)
{

  echo $row['id'];
}


Viewing all articles
Browse latest Browse all 37670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>