Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. $this->conn = mysql_connect ( $this->host, $this->user, $this->pass ) or die ( 'ERR_DB_CONNECT' );
  2.  
  3. $result = mysql_query ( $query, $this->conn ) or die ( mysql_error () );
  4.  
  5. $this->conn = mysqli_connect ( $this->host, $this->user, $this->pass ) or die ( 'ERR_DB_CONNECT' );
  6.  
  7. $result = mysqli_query ( $query, $this->conn ) or die ( mysqli_error () );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement