daily pastebin goal
45%
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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top