daily pastebin goal
0%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public function cadastrar( $pastor ) {
  2.  
  3.     print $pastor->getIdMembro();  // IMPRIME 6
  4.     $string = "INSERT INTO pastores ( idMembro ) VALUES ( $pastor->getIdMembro() ) ";
  5.     print $string; // INSERT INTO pastores ( idMembro ) VALUES ( () )
  6.  
  7.     return $this->conexao->query( $string )  ? true : false;
  8.  
  9. }
  10.    
  11. $string = "INSERT INTO pastores ( idMembro ) VALUES ( $pastor->getIdMembro() ) ";
  12.    
  13. echo "Saudações $nome, bem-vindo ao Stack Overflow em Português";
  14.    
  15. echo "Olá $pastor->getIdMembro(), tudo bem?";
  16.    
  17. echo "Olá {$pastor->getIdMembro()}, tudo bem?";
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