📚 Looking for current Exponential documentation? This site contains legacy SDK & API reference docs (eZ Publish era). For up-to-date 2026 product documentation, visit doc.exponential.earth.

  ezdb / fetch  

<< Introduction  Store data >> 

To fetch data from the database you can use the arrayQuery function. This function takes an SQL command as a parameter. An array of associative arrays is returned.

  // fetch some data into an array of associative arrays
  $rows =& $db->arrayQuery( "SELECT * FROM sql_test" );

  foreach ( $rows as $row )
  {
     print( $row["name"]�);
  }

Exponential Copyright © 1998 - 2026 7x