title: ERROR- Use of undefined constant root - assumed 'root'
body: <p>Please can I get help for this problem</p>
  
  <p>Here's the code:</p>
  
  <pre><code>if( $_GET["sender"] == "Ajax" )
  
  require_once "../db/connector.php";
  
  else if ( $_GET["sender"] == "Ajax5" )
  
  require_once "../db/connector.php";
  
  else
  require_once "db/connector.php";
  
  //require_once "db/dbclass.php";
  
  $mysql = new Datalink(localhost,root,'','whatsapp_dbase');
  
  
  $id = $_GET['id'];  
  </code></pre>
  
  <p>Here's the Error Message</p>
  
  <blockquote>
    <p>Notice: Use of undefined constant root - assumed 'root' in C:\wamp\www\whatsapp\db\mobilefx.php on line 9
    Notice: Undefined index: id in C:\wamp\www\whatsapp\db\mobilefx.php on line 11
    Notice: Use of undefined constant localhost - assumed 'localhost' in C:\wamp\www\whatsapp\db\mobilefx.php on line 9
    Notice: Undefined index: sender in C:\wamp\www\whatsapp\db\mobilefx.php on line 2</p>
  </blockquote>