0

I have on my config file that line

$connection = mysqli_connect('$server', '$user', '$pass', '$host');

and in this config I don't close $connection. I only include this file and get $connection to mysqli_query and then close $connection but in function not in config file. It is and dangerous if i do things like that ? Its look this config.php

Norbert
  • 77
  • 6

0 Answers0