[SOLVED] mysqli library error

i’ve just downloaded and upgrade to SC 7.0.0.12
in my several blank applications, i use this code to connect to mysql database:


$mysqli = new mysqli("localhost", "", "", "simba");


/* check connection */
if (mysqli_connect_errno()) {
    printf("Connect failed: %s
", mysqli_connect_error());
    exit();
}


and now i got error like this:
Fatal error: Call to a member function fetch_array() on a non-object in E:\Scriptcase\wwwroot\scriptcase\app\Simba\MapHotelSearchList\MapHotelSearchList.php on line 1004

does SC remove mysqli library?
not sure because i didn’t modify any code since last saturday and now i got this error in every blank application.

Hello,

SC doesn’t remove any PHP function. What is your PHP version?

regards,
Bernhard Bernsmann

solved benhard :). now it’s working.

i uninstall SC clean (7.0.0.12). install a new one, still in the same folder (so i don’t have to import all projects).
my SC version is 7.0.0.12. it works even faster when loading an application than before.

[QUOTE=iwanpc;14394]solved benhard :). now it’s working.

i uninstall SC clean (7.0.0.12). install a new one, still in the same folder (so i don’t have to import all projects).
my SC version is 7.0.0.12. it works even faster when loading an application than before.[/QUOTE]

I’m glad you were able to solve the issue!

regards,
Bernhard Bernsmann