Tutorial Exercise Netbeans

 

Video Quick Learning Dreamweaver and PHP Configuration Database connection Part 2


We will give you tutorial how to configuration dreamweaver and connect database in XAMPP, for build PHP Website.
Thats so easy, i feel you can 100% follow this tutorial part 2.
Free for downloading tutorial.



Download High Quality Video (via 4shared)
Size : 4 Mb

Video Quick Learning PHP Create Database Part 1

We will give you tutorial how to make new database in XAMPP, for build PHP Website.
Thats so easy, i feel you can 100% follow this tutorial.
Free for downloading tutorial.

Multiplication PHP Simple Application Tutorial




How to Make Multiplication PHP Simple Application Tutorial, Free Edision, simple Ebook.

This time I will give a free PHP tutorial.
We will make an application Multiplication PHP Simple Application Tutorial, ie a rectangular area calculation.

With the formula Nilai1 X Nilai2

We put the formula into PHP.

Code:


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
  <table width="43%" border="1" align="center">
    <tr>
      <td width="20%">Nilai 1 </td>
      <td width="51%">:
      <input name="long" type="text" id="long" /></td>
      <td width="29%" rowspan="3">Total :
</td>
    </tr>
    <tr>
      <td>Nilai 2 </td>
      <td>:
        <input name="width" type="text" id="width" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><div align="center">
        <input type="submit" name="Submit" value="Submit" />
      </div></td>
    </tr>
  </table>
</form>
</body>
</html>


Then add the following php script to read and calculate the value or number that we enter.

Code:

<?php
  $long = $_POST["long"];
  $width = $_POST["width"];
  $total = $long*$width;
  echo $total;
  ?>

to be like this

Code:


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
  <table width="43%" border="1" align="center">
    <tr>
      <td width="20%">Nilai 1 </td>
      <td width="51%">:
      <input name="long" type="text" id="long" /></td>
      <td width="29%" rowspan="3">Total :
<?php
   $long = $_POST["long"];
   $width = $_POST["width"];
   $total = $long*$width;
   echo $total;
   ?>   </td>
    </tr>
    <tr>
      <td>Nilai 2 </td>
      <td>:
        <input name="width" type="text" id="width" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><div align="center">
        <input type="submit" name="Submit" value="Submit" />
      </div></td>
    </tr>
  </table>
</form>
</body>
</html>
Finish

Multiplication applications with PHP




How to Make multiple applications with PHP

This time I will give a free PHP tutorial.
We will make an application simple multiplication, ie a rectangular area calculation.

With the formula Length X Width

We put the formula into PHP.

Code:

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
  <table width="45%" border="1" align="center">
    <tr>
      <td width="20%">Long</td>
      <td width="62%">:
        <input name="long" type="text" id="long" /></td>
      <td width="18%" rowspan="3">Total :
 </td>
    </tr>
    <tr>
      <td>Width</td>
      <td>:
        <input name="width" type="text" id="width" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><div align="center">
        <input type="submit" name="Submit" value="Submit" />
      </div></td>
    </tr>
  </table>
</form>
</body>
</html>


Then add the following php script to read and calculate the value or number that we enter.

Code:

<?php
  $long = $_POST["long"];
  $width = $_POST["width"];
  $total = $long*$width;
  echo $total;
  ?>

to be like this

Code:

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
  <table width="45%" border="1" align="center">
    <tr>
      <td width="20%">Long</td>
      <td width="62%">:
        <input name="long" type="text" id="long" /></td>
      <td width="18%" rowspan="3">Total :
<?php
  $long = $_POST["long"];
  $width = $_POST["width"];
  $total = $long*$width;
  echo $total;
  ?>

 </td>
    </tr>
    <tr>
      <td>Width</td>
      <td>:
        <input name="width" type="text" id="width" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><div align="center">
        <input type="submit" name="Submit" value="Submit" />
      </div></td>
    </tr>
  </table>
</form>
</body>
</html>
Finish

Make Text Field Custom With CSS



Here we learn about PHP tutorials,
and we will learn about the Text Field, to be able to modify the text field in html or php from the standard for the better with the help of css style.

With CSS we can set the size of the text field such as width and length, and color of the text field and the size of the fonts that are contained in the text field.

Take a look at the default standard html text field below, in the form of a login form.





Code:

<table width="300" border="0" align="center">
  <tr>
    <td width="111">Username</td>
    <td width="173">:
      <input type="text" name="textfield" /></td>
  </tr>
  <tr>
    <td>Password</td>
    <td>:
      <input type="text" name="textfield2" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="submit" name="Submit" value="Login" /></td>
  </tr>
</table>



 To change the look of it, make a css style in your html code below.

Code:

<link rel="stylesheet" href="style.css" type="text/css" />


Then create a new file style.css
With its css coding as below.

Code:

.textform{
heigh: 30px;
border-radius: 7px;
   -moz-border-radius: 7px;
   -webkit-border-radius: 7px;
   }



Then change the code section above was, by just simply add class = "textform"

Code:
class = "textform"


Then the result will be like this.



Code:

<table width="300" border="0" align="center">
  <tr>
    <td width="111">Username</td>
    <td width="173">:
      <input type="text" name="textfield" class="textform" /></td>
  </tr>
  <tr>
    <td>Password</td>
    <td>:
      <input type="text" name="textfield2" class="textform" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="submit" name="Submit" value="Login" /></td>
  </tr>
</table>



Project application to calculate area of ​​a circle


Use netbeans to create software applications such as image above.
The first thing is to make sure your new project and put this script in netbeans your editing software.

Netbeans application to calculate area of ​​a circle.



/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


/*
 * LuasLingkaran.java
 *
 * Created on Oct 27, 2011, 12:01:11 PM
 */
/**
 *
 * @author VHEROLLY__http://netbeansexercise.blogspot.com__
 */
import javax.swing.JOptionPane;
public class LuasLingkaran extends javax.swing.JFrame {
    /** Creates new form LuasLingkaran */
    public LuasLingkaran() {
        initComponents();
    }

Project determine the number of positive negative or zero


Picture :







Use netbeans to create software applications such as image above.
The first thing is to make sure your new project and put this script in netbeans your editing software.

Netbeans determine the number of positive or negative or zero.
Downnload free script.

Popular :

Advertisement:

Blog :