C# Programming

Saturday, February 23, 2019

Updating and Deleting Employee in C#.NET | Stock Management Software Pa...

google.com, pub-0656915993972970, DIRECT, f08c47fec0942fa0

Thursday, February 7, 2019

Suppliers Adding and Listing in C#.NET | Stock Management Software Part ...

Monday, February 4, 2019

Monday, July 9, 2018

Online Food Delivery in Butwal by Merokhaja


Merokhaja.com is an online food ordering site. We have initiated this jouney from Butwal, planning to expand all over the country Nepal. Currently our main service is to deliver the foods from different best restaurants available in the city.






Online Food Delivery in Butwal, Manigram and Bhairahawa, Spend more time on enjoying instead of cooking. Order directly from phone also. 9847341436 , 9860273651
website:
https://merokhaja.com/

Wednesday, June 27, 2018

Dropdownlist in HTML in easy way | Select Tag in HTML with options| Lear...





This video demonstrate how to make dropdownlist in html using select tag. Three options are made with select and option tag.



code:

<!DOCTYPE html>

<html>

<head>

      <title>Dropdown list</title>

</head>

<body>

<h2> Select Any Fruits</h2>



<form action="process.php" >

    <select name="fruits">

      <option value="mango">Mango</option>

<option value="apple">Apple</option>

<option value="orange">Orange</option>

    </select>

    <br/>

<br/>

    <input type="submit" name="submit">

</form>

</body>

</html>

Tuesday, June 26, 2018

HTML login form with PHP processing | Check username and password in php...

Html code:

<!DOCTYPE html>

<html>

<head>

<title>Login</title>

</head>

<body>

<form action="logincheck.php" method="post">

  Username:<br>

  <input type="text" name="username" >

  <br>

  Password:<br>

  <input type="password" name="password" >

  <br><br>

  <input type="submit" value="Submit">

</form>
</body>

</html>

Description:

Here in avove html code form tag is used to make form in html such as login or signup form, here i have made a login form. Action is an attribute where we give from which php file our login information will be processed. Here i have logincheck.php file . Method attribute is used to declare whether our form submission method is post method or get method normally we use two methods but there  are other also. Php post method hide the details and get method display in url so for sensitive work like sending password we must use post method.

    Input is used to make typing boxes, we have made two boxes for username and password , type=text means our text is visibke and type =password mean our text is hidden and shown in bullet form.

At last input type=submit means we have created a button upon clicking of it our login info is sent to the provided action file here is logincheck.php.



PHP code:

<?php

$username=$_POST['username'];

$password=$_POST['password'];

if($username == "username" && $password=="password")

{
echo "You are successfully logged in";
}

else

{

echo "Sorry username or password is wrong.";

}

?>

Description:

Here two variables are used to store values passed from html form for username and password $_POST is used for such task. By using if condition we check whether given username and password are correct or not here we have hard coded value for username and password as "username" and "password"  respectively.If there correct info echo will display success message else not. echo is used to print any text.





This video demonstrates how we can make login form and process it with php. Post method is used to submit login form data to the php action file.