001 PHP MySQL Database Beginner Tutorial – Insert Record with textbox part 1 in Hindi




Welcome Everyone, this video tutorial series is about PHP MySQL Tutorial in Hindi. This will be help for beginner who want to learn php mysql connectivity …

Original source


39 responses to “001 PHP MySQL Database Beginner Tutorial – Insert Record with textbox part 1 in Hindi”

  1. <html>
    <head>
    <title>Add</title>
    </head>
    <body>
    <form action="insert.php" method="post">
    Enter your first name :<input type="text" name="fname"><br/>
    Enter your last name :<input type="text" name="lname"><br/>
    <input type="submit" name="submit" value="Save">
    </form>
    </body>
    </html>

    <?php
    if($_POST["submit"]=="save")
    {
    $fname=$_post["fname"];
    $lname=$_post["lname"];

    mysql_connect("localhost","root","");
    mysql_select_db("test");

    $s="insert into contact(fname,lname) values('sf','lf');

    mysql_query($s);
    }
    ?>

    Parse error: syntax error, unexpected '"' in /opt/lampp/htdocs/learnphp/text_add.php on line 23
    what should i do ??

  2. excellent tutorials….moreover in hindi its much understandable..ty for this…..I have one query …I am making a web make for students to see solution of questions. I have takes all questions and answers in png form seperately. Now i want them to fill a scrollable form with option to get there desired question and answer. For ex, they will choose fst class, then subject, then chapter, then exercise, and then question. then after clicking submit button both pics must be displayed in a panel. Please tell me how to do this.

  3. sir here the error i said to you.
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '','eman','eman','eman','eman')' at line 1

    i dnt know how to fix :"(

  4. hello friend
    i want to hindi tutorial insert data in data base and fetch from database seach from database items without refresh page , search items for select item when select ,search items when check without submit,search items when a word some characters match of the word when sppelling wrong then also be search match some charcters

Leave a Reply