Related Posts

19 Comments

  1. Hello everyone!
    Today I just found this free host with:- 1500 MB of Disk Space
    – 100 GB Bandwidth
    – Your own domain hosting
    – cPanel Control panel
    – Website Builder
    – Over 500 website templates ready for download
    – Free POP3 Email Box and Webmail access
    – FTP and Web based File Manager
    – PHP, MySQL, Perl, CGI, Ruby.
    – No Ads at all !Check it out Here: https://www.000webhost.com/926021.html

  2. <?php
        $con_db=mysql_connect("localhost","root","")or die(mysql_error());
        mysql_select_db("khan") or die(mysql_error());
        
        session_start();
        error_reporting(0);
        
    if(isset($_POST['btnadd']))
    {
            $title=$_POST['txttitle'];
            $author=$_POST['txtauthor'];
            $Publisher=$_POST['txtpub'];
            $Copyright=$_POST['txtcopy'];
            $zip=$_POST['txtzip'];
            
            
       
       $sql = "INSERT INTO m_db(Title,Author,Publisher_Name,
       Copyright_Year,zip) VALUES ('$title',
       '$author','$Publisher','$Copyright'$zip)";
       
       
       $result = mysql_query($sql);
       
           if($result)
           {
              $_SESSION['msg']="data saved successfully";
              header("location:khan.php");
              exit;
           }
            else
           {
               $_SESSION['msg']= "sorry,data nat saved";
               header("location:khan.php");
              exit;
           }
    }

          if($_SESSION['msg']!=null)
          {
              echo $_SESSION['msg'];
              unset($_SESSION['msg']);
          }
    ?>
    <!DOCTYPE html>
    <html>
        <head>
        <title>CRUD</title>
        </head>
    <body>
        <div align="center">
        <h1>Sample CRUD Function</h1>

        <form method="post">
        <table>

            <tr>
                <td>Title:</td>
                <td><input type="text"  class="form-control"  placeholder="Title" name="txttitle"/></td>
            </tr>
            <tr>
                <td>Author</td>
                <td>
                <input type="text" class="form-control"  placeholder="Enter The Name" name="txtauthor"/>
                </td>
            </tr>
            <tr>
                <td>Publisher Name</td>
                <td>
                <input type="text" class="form-control"  placeholder="Publisher Name" name="txtpub"/>
                </td>
            </tr>
            <tr>
                <td>Copyright Year</td>
                <td>
                <input type="text" class="form-control" placeholder="Copyright Year" name="txtcopy"/>
                </td>
            </tr>
            <tr>
                <td>ZIP Code</td>
                <td>
                <input type="text" class="form-control" placeholder="Copyright Year" name="txtzip"/>
                </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td><input type="submit" value="Login" name="btnadd"></td>
            </tr>
        </table>
        </form>
        </div>
    </body>
    </html>

  3. Ahmed Nafis Kabir, apnake bolchi…but not only in Bengali also in English. You are really jealousy person. Your face as like as jealousy too. Apni ekta tutorial banan, dekhben Foysal er tu ekta bhul dhorechen, apnake ami ek kotee bhul dhorbo. Ar bolechen fazlamo? Ekto joking na korle chele meyera shikhbe na. Apnar moto poro chidro onneshon korte shikhbe bujhlen. 8 month agee jodi ami dekhtam, tokhon e apnake boltam. Manush ke inspire korun. OKEY? Mr. BDGEEKS (Foysal vai) agiye jan. Really you are an interested person.
    Mr. Nafis chokh and mooon khule msg ta poren, nd mon ta ke boro (spread) koren….

  4. foysal vai apni jodi wordpress er kono tutorial banaiten tahole khub valo hoito amader jonno. karon apni php paren ebong wordpress er je php gulo ache segulo valo vabe bujaite parten. tate amader ektu valo hoto php gulo bujte. jodi somvob hoi tahole amader jonno onek upokar hoto.

  5. apni unzip korar pore xampp namer 1 ta folder paben shomvoboto! then oi folder tare c drive e copy paste korben tarpor oi folder er vitore 1 ta file paben xampp-control namer oita te double click korlei xampp chalu hobe!

Leave a Reply

Your email address will not be published.

© 2022 Code As Pro - Theme by WPEnjoy · Powered by WordPress