Jump to content

nadav_rock

New Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About nadav_rock

  • Rank
    Newbie
  1. i know what an if else statement is. i dont know what you meant by $_SERVER['HTTP_HOST']. can you give me a working code?
  2. i am new to php. can you give me the code for the simple if else statment?
  3. 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.