I'm starting to transition towards Mysqli on my website project and am noticing that for several different functions such as mysqli_query
or mysqli_select_db
it is requiring the first parameter to be $link
, $link
being mysqli_connect()
.
Is this necessary for every function? If I leave out the parameter can I expect the function to go to the default mysqli_connect()
I put at the beginning of my code?