daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function getFullListOfSensor($dbh)
  2. {
  3.     $request = $dbh->prepare( 'SELECT nom FROM materiel' );
  4.     return $request->execute() ?  $request->fetchAll() : null;
  5. }
  6.  
  7. $sensors = getFullListOfSensor($bdd);
  8. var_dump($sensors);
RAW Paste Data
Top