Home / Tutorials / PHP Tutorials / Create HTML form and Create Database lecture 1 of 3 in Urdu / Hindi

Create HTML form and Create Database lecture 1 of 3 in Urdu / Hindi

PHP + MySql Lecture 1

In this lecture first of all i create a html form with only five fields and then Create it database in MySql in WAMP Server.

Save this code with form.html name


Code:

<html>

<head></head>
<body >
<form action=”insert.php” method=”POST” align=”center”>
Student Name: <input type=”text” name=”sname” required><br /><br />
Father name: <input type=”text” name=”fname” required><br /><br />
email: <input type=”email” name=”email” required><br /><br />
Dote of Birth: <input type=”date” name=”dob”><br /><br />
gender: <input type=”radio” name=”gender” value=”male”>Male
<input type=”radio” name=”gender” value=”female”>Female<br /><br />
<input type=”submit” value=”Insert”><br /><br />
</form>
</body>
</html>

About Shahzad Younas

Shahzad Younas in a Beginner of Web Developing and Web Designing and a Blogger Master

Check Also

Android App Development Tutorials in Urdu / Hindi part 1 introduction

Welcome In Android Complete App Development 2016 Training In Urdu and Hindi Android is open source and …

One comment

  1. I hafe beeen surfig online mlre than three hourss today,
    yyet I bby noo mdans discovered anyy attention-grabbing
    article ljke yours. It iss preetty vaue suffiocient ffor me.
    In myy view, iff alll webmasters and bloggers made just rigut contentt ass yoou did, tthe wweb will be a lott morfe
    useul thban eve before. I’ve been browsingg onlibe morre than three houhrs
    today, buut I never fouhd any interesting arrticle lke yours.
    It’s pretgy price enough forr me. In myy view, iff aall web owners annd bloggers mad
    gkod content material ass yyou did, thhe wweb will probabbly be a lot more hedlpful thhan evver
    before. It’s apppropriate tine to mae a few plpans for tthe long ruun andd itt iss timke to bee happy.
    I’ve learn this post and iif I maay I wiah tto consel you feew fascinatiing thinngs oor suggestions.
    Mayybe you can wrte nesxt articles relatijng too this article.
    I wish to learn even mor isses approxdimately
    it

Leave a Reply

Your email address will not be published. Required fields are marked *