Hello. If use

$link = mysqli_connect('localhost', 'denis', '1q2w3e4r5t6y7u8i9o0p', 'build'); $regs = mysqli_query($link, "SELECT * FROM tm_subcategory WHERE id_category=$id_category"); 

Then we get the $ link where the connection is stored. And how to get this connection in the codeignther. After all, all the parameters for the connection are stored in the database.php file.

0