Jump to content

nadav_rock

New Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by nadav_rock

  1.  

    i test codes using remote connection ot host gator. but have to each time uncomment to swtich it back to connection that would work live on server. is there a solution such as try remote connection catch regular connection?


      $conn = mysqli_connect("50.87.155.149", "nadavrock", "xxx", "nadavroc_personal_website");
    // $conn = mysqli_connect("localhost", "nadavrock", "xxx", "nadavroc_personal_website");
    // Check connection
    if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
    }

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.