Posts

How to Create an Invoicing system in PHP

Image
In this article, we will explain How to Create an Invoicing system in PHP. the invoice will be  inserted  into the database. Example:- form.php <?php error_reporting( error_reporting() & ~E_NOTICE ); $item3=$_POST['item10']; $quantity3=$_POST['qty10']; $price3=$_POST['price10']; $item3=$_POST['item9']; $quantity3=$_POST['qty9']; $price3=$_POST['price9']; $vat=$_POST['vat']; $total=$_POST['total']; $grand=$_POST['grand']; $amount10=$_POST['amount10']; $amount9=$_POST['amount9']; $insert="insert into invoice set item10='$item10',qty10='$quantity10',price10='$price10',amount10='$amount10', item9='$item9',qty9='$quantity9',price9='$price9',amount9='$amount9', total='$total', vat='$vat', grand='$grand',bal='$grand'"; $result=mysql_query($insert); header("location:index.php"); }

How to Create Comment in PHP

Image
In this article, you will learn How to Create  Comment  in PHP. in PHP but doesn’t run then use the  comment . A  Comment  is used for the written code will not work. Two Ways to Create  Comment Method1 // is used for  comment  single line. <?php //echo "Welcome to"; echo "Hub Of Tutorials"; ?> Method2 /* */ is use for  comment  the Multiple Line <?php /* echo "Welcome to"; echo "Hub Of Tutorials"; */ ?>  

How to Delete Multiple Records from Database using PHP

Image
In this article, you will learn How to Delete Multiple Records from  Database  using PHP. Example:- CREATE TABLE `users` ( `id` int(10) NOT NULL, `name` varchar(140) DEFAULT NULL, `education` varchar(120) DEFAULT NULL, `doj` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; ALTER TABLE `users` ADD PRIMARY KEY (`id`); ALTER TABLE `users` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1; Fetch data from the database and create a checkbox . <html> <head> <title>Delete Multiple Records</title> </head> <body> <form name="multipledeletion" method="post"> <div class="container"> <div class="row col-md-6 col-md-offset-2 custyle"> <h2>How to Delete Multiple Records from Database using PHP</h2> <!-- Message --> <p style="color:red; font-size:16px;"> <?php if($errmsg){ echo $errmsg; } ?> </p>

How to Create Email Verification Script in PHP

Image
  In this article, you will learn How to Create  Emai l Verification Script in PHP. user_registration table CREATE TABLE IF NOT EXISTS `user_registration` ( `id` int(11) NOT NULL, `name` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `activationcode` varchar(255) NOT NULL, `status` int(11) NOT NULL, `postingdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; index.php <html> <head> <title>Registration</title> </head> <body> <form name="insert" action="insert.php" method="post"> <table width="100%" border="0"> <tr> <th height="62" scope="row">Name </th> <td width="71%"><input type="text" name="name" id="name" value="" class="form-control" required /></td> </tr>

How to Create AJAX Loading Method using JQuery

Image
  In this article, you will learn How to Create  AJAX  Loading Method using JQuery. Example:- <html> <head> <title>AJAX Load Method in JQuery</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ $("#div1").load("test.txt", function(responseTxt, statusTxt, xhr){ if(statusTxt == "success") alert("External content loaded successfully!"); if(statusTxt == "error") alert("Error: " + xhr.status + ": " + xhr.statusText); }); }); }); </script> </head> <body> <div id="div1"><h2>AJAX Load Method in JQuery</h2></div> <button>Get External Content Now</button> </body> </html> test.txt This is External test file content will be display after a cl
Image
  How to Make Mango Paneer Delight This recipe is made with main ingredients cheese and mango. Now we will teach you to How to Make Mango Paneer Delight. Let’s make this recipe. You may like  Mango Coconut Halwa Ingredients 4 tablespoon – paneer finely chopped 100 gram – mango puree 200 gram – milk chocolates for garnishing Mango Paneer Delight Recipe Take a big bowl and add mango puree and cheese(paneer) in it and mix it well. Add milk in it. Blend for 5 minutes and mix it. continue reading... How to Make Mango Paneer Delight
Image
    How to Make Stuffed Mushrooms For the party, the stuffed mushrooms are a perfect recipe for lunch and dinner. Let’s start to learn How to Make Stuffed Mushrooms . Also, read  Noodles Cutlet Ingredients 10 pcs – mushroom 1/4 cup – chopped capsicum 1/2 spoon – garam masala powder oil as required 1/4 cup – chopped paneer 1/4 cup – chopped onion 1/2 spoon – chili sauce salt as taste Stuffed Mushroom Recipe Take a frying pan and add oil in it. Add the chopped onions in it and cook for 2 minutes on low flame. Add capsicum and paneer in it. continue reading..... How to Make Stuffed Mushrooms