Future of world with technology grow, thrive, empower yourself, one step at a time. Sucess unlocked.
The journey of self-motivation and personal growth is a lifelong path, filled with twists and turns, triumphs and setbacks. By embracing this journey, we can develop the skills, confidence, and resilience needed to achieve our goals and live a fulfilling life. I hope that my insights and experiences will inspire and motivate you to embark on your own journey of self-discovery and growth. Join me as I share insights, experiences, and practical tips on living a fulfilling life.
Friday, January 25, 2019
Sunday, January 20, 2019
PHP program of Slip 19 practical of User Information in bill
PHP program of Slip 19 practical of User Information in bill
// This is Slip19_a.php
// It takes User Information And Send it to slip19_b.php
?>
<html>
<body bgcolor=#AAAAAA>
<center> <font color="red" font size=6>U</font>ser Information</center>
<br><br><br>
<form action="slip19_b.php" method="GET">
<p>
<table border=0>
<tr><td>Name:<td> <input type="text" name="u_name">
<tr><td>Address:<td> <input type="text" name="u_address">
<tr><td>Phone No:<td> <input type="text" name="u_no">
<tr><td><td><input type="submit" value="SUBMIT">
</form>
</table>
</form>
</body>
</html>
<?
// This is Slip19_b.php
// It Takes The Product Information....
//and Passes to Slip19_c.php
?>
<html>
<body bgcolor=#AAAAAAA>
<center><font color="red" font size=6>P</font>roduct Information</center>
<br><br><br>
<form action="slip19_c.php" method="POST">
<p>
<table border=0>
<tr><td>Prod.Name:<td> <input type="text" name="p_name">
<tr><td>Quantity:<td> <input type="text" name="p_qty">
<tr><td>Rate:<td> <input type="text" name="prize">
<tr><td><?
$var1=$_GET['u_name'];
$var2=$_GET['u_address'];
$var3=$_GET['u_no'];
printf("<br><br>Customer Information is:");
printf("<br><br><input type='text' name='user' value='$var1'><br>");
printf("<input type='text' name='add' value='$var2'><br>");
printf("<input type='text' name='phone' value='$var3'><br>");
?>
<tr><td><td><input type="submit" value="Display">
</table>
</form>
</body>
</html>
<?
// This is Slip19_c.php
//It Genrates the Tabular format bill of the Customer
?>
<html>
<body bgcolor=#AAAAAAA>
<center><font color="red" font size=6>B</font>ill Information</center>
<br><br><br>
<center>
<table border=1 cellspacing=2 cellpadding=2>
<?
$usr_name=$_POST['user'];
$usr_address=$_POST['add'];
$usr_phone=$_POST['phone'];
$prod_name=$_POST['p_name'];
$prod_quantity=$_POST['p_qty'];
$prod_price=$_POST['prize'];
$bill=$prod_quantity*$prod_price;
printf("<br><br><br>");
printf("<th bgcolor=#ABCDEF>Customer Bill<td bgcolor=#ABCDEF>");
printf("<tr><td>Name<td>$usr_name");
printf("<tr><td>Address<td>$usr_address");
printf("<tr><td>Phone No<td>$usr_phone");
printf("<tr><td>Product Name<td>$prod_name");
printf("<tr><td>Product Quantity<td>$prod_quantity");
printf("<tr><td>Product Price<td>$prod_price / Unit");
printf("<tr><td>Total<td>$bill Rs.");
?>
</table>
</form>
</body>
</html>
Subscribe to:
Posts (Atom)
Featured posts
Ethiopian culture calendar language
Ethiopian culture, calendar, language The Ethiopian language, specifically Amharic, uses a script called Ge'ez script. It consists of 3...
Popular posts
-
Here's a more comprehensive list of names for God in various languages: Indo-European Languages 1. *Sanskrit*: Brahma (ब्रह्म), Vishnu ...