title: mysqli_connect vs mysqli_real_connect
body: <p>I read the <a href="http://php.net/manual/en/mysqli.real-connect.php" rel="noreferrer">doumentation</a> But I don't understand the difference exactly.</p>
  
  <p>What difference does the connection object make in this?  I didn't find any posts.</p>
  
  <p>I misunderstood it. Flags are not present in both. Why didn't they add flags as part of <code>mysqli_connect</code>? Any specific reasons? Which one should I use?</p>