Guest User

Untitled

a guest
Oct 17th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. if(mysqli_num_rows($result) > 0){
  2. while ($row = mysqli_fetch_array($result)) {
  3. $id_product = $row['id_courses'];
  4. $product = $row['product'];
  5. $title = $row['title'];
  6. $subtitle = $row['subtitle'];
  7. $price = $row['price'];
  8. }
  9. }
  10.  
  11. echo $product;
  12.  
  13. $stmt->bind_param("i",$active);
  14. $stmt->execute();
  15. $stmt->bind_result( $id_product,$product,$subtitle,$price);
  16.  
  17. while ($stmt->fetch()) {
  18.  
  19. }
Add Comment
Please, Sign In to add comment