Announcement

Collapse
No announcement yet.

[SOLVED] mysqli library error

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [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:
    Code:
    $mysqli = new mysqli("localhost", "", "", "simba");
    
    
    /* check connection */
    if (mysqli_connect_errno()) {
        printf("Connect failed: %s\n", 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\MapHote lSearchList\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.
    -Iwan P-

  • #2
    Hello,

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

    regards,
    Bernhard Bernsmann

    Comment


    • #3
      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.
      -Iwan P-

      Comment


      • #4
        Originally posted by iwanpc View Post
        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.
        I'm glad you were able to solve the issue!

        regards,
        Bernhard Bernsmann

        Comment

        Working...
        X