I have a vb.net software and I shall use php code on my website to make a user for the customer. I have tried many codes but I always get the same error:
Waing:
mysqli_ssl_set() expects parameter 1 to be mysqli, null given in xxxxxxxxxxx/makeuser/insert.php on line 12 Waing: mysqli::mysqli(): (HY000/2002):
The php code also needs certificate so where shall I store the certificate. Shall I store them in my webserver? I understand that I can store the certificate in my webserver but is it safe?
When I shall execute my SQL script I am doing like this:
$sql = $co->prepare ("CREATE DATABASE '$_POST[group]' /*!40100 DEFAULT CHARACTER SET latin1 */;");
I also get an error on the execute process. If I use $ssl instead of $co I don't get the error. Is that correct?
