×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Patrice Bulat
Added: Jun 7, 2017 12:17 PM
Views: 6
Tags: no tags
Requête préparée SELECT
  1. $requete_select = "SELECT";
  2. $stmt_select = $this->db->prepare ($requete_select);
  3. $stmt_select->bind_param ('s', $x);
  4. $stmt_select->execute();
  5. $res = $stmt_select->get_result();
  6. $row = $res->fetch_assoc();
  7. $res->free_result();
  8. $stmt_select->close();
  9.