Location: PHPKode > scripts > PHP or Java Class Code Generator > php-or-java-class-code-generator/programtemplates/template_host.html
<script>
function get()
{
//document.code_generator.url.value = '';
document.code_generator.url.select();
}
</script>

     <form action="begin.php" method="post" name="code_generator">
        <input type="hidden" name="action" value="add">
  <table width="939" border="0" cellpadding="3" cellspacing="3">
   <tr>
      <td width="28%" valign="top"><div align="right">Host </div></td>
            
      <td width="72%"><input name="url" type="text" value="localhost" onClick="get();">
      (ex. localhost:3306 or 127.0.0.1) </td>
   </tr>
   <tr>
      <td width="28%" valign="top"><div align="right">LoginID</div></td>
            <td width="72%"><input name="logid" type="text">
        (ex. root) </td>
   </tr>
   <tr>
      <td width="28%" valign="top"><div align="right">Password</div></td>
            <td width="72%"><input name="pasw" type="password">
        (ex. root) </td>
   </tr>
   <tr>
      <td width="28%" valign="top"><div align="right">Database</div></td>
            <td width="72%"><input name="dat" type="text">
        (ex. databasename) </td>
   </tr>  
  
          <tr>
            <td colspan="2"><div align="center">
                <input type="submit" name="Submit" value="Submit" class="buttonblue">
            </div></td>
          </tr>
       </table>
     </form>

<strong>Host:</strong> the name of server or the host name or the ip adress where is the database.(default port is 3306, to give another port write: and the port ex: localhost:3306)<br>
<strong>LoginID:</strong> the username of the database.<br>
<strong>Password:</strong> the user password for the database.<br>
<strong>Database:</strong> the name of the database.
Return current item: PHP or Java Class Code Generator