title: Having problem in connecting my SQL Database to my Chrome extension using XAMPP
body: <p>I am trying to connect to my SQL database using (XAMPP-phpmyadmin) from my google chrome extension. 
  I am getting the following error:-</p>
  
  <p>(Your file was not found It may have been moved or deleted.
  ERR_FILE_NOT_FOUND)</p>
  
  <p>I changed my code from (insert.php to data.php) but my data is not getting stored in database. When I click submit button in my extension, I am getting my php script i.e data.php as the popup.</p>
  
  <pre><code> (data.php)
  
   &lt;pre&gt;
   &lt;?php
   $database="uppercase";
  
   $name=$_POST['name'];
  
   mysql_connect(localhost);
   @mysql_select_db($database) ;
  
   $query = "INSERT INTO urltable VALUES ('','$name')";
   mysql_query($query);
  
   mysql_close();
  
   ?&gt;
   &lt;/pre&gt;
  
  
  
   (popup.html)
  
   &lt;!DOCTYPE html&gt;
   &lt;html&gt;
   &lt;head&gt;
      &lt;title&gt;Hello World&lt;/title&gt;
      &lt;script src="jquery-3.3.1.min"&gt;
      &lt;/script&gt;
  
   &lt;script src="popup.js"&gt;
   &lt;/script&gt;
   &lt;/head&gt;
   &lt;body&gt;
  
      &lt;form action="insert.php" method="post"&gt;
          First Name: &lt;input type="text" name="name"&gt;
          &lt;input type="Submit"&gt;
      &lt;/form&gt;
  
    &lt;/body&gt;
  
    &lt;/html&gt; 
  
  
   (manifest.json)
    {
   "manifest_version": 2,
  
   "name": "My Launcher",
   "description": "Quick launch lol Media",
   "version": "1.0.0",
   "icons": { "128": "icon_128.png" },
   "browser_action": {
    "default_icon": "icon.png",
    "default_popup": "popup.html"
   },
   "permissions": [
    "tabs","http://localhost/*"
   ],
   "background": {
      "scripts": ["popup.js"],
      "persistent": false
   }
   }
  </code></pre>
  
  <p>I am basically taking an input from the user and trying to send it to my table "urltable" in my database.</p>