Posts

FETCH DATA BY ID IN TEXTBOX FROM DATABASE IN PHP MYSQL (SEARCH)

INDEX.PHP <! DOCTYPE   html > < html   lang = "en" > < head >      < meta   charset = "UTF-8" >      < meta   http-equiv = "X-UA-Compatible"   content = "IE=edge" >      < meta   name = "viewport"   content = "width=device-width, initial-scale=1.0" >      < title > Funda of Web IT </ title >      < link   href = "https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css"   rel = "stylesheet" > </ head > < body >           < div   class = "container" >          < div   class = "row justify-content-center" >              < div   class = "col-md-7" >    ...

TO DO LIST (PHP)

INDEX.PHP <!DOCTYPE html > <html lang = "en" >     <head>         <link rel = "stylesheet" type = "text/css" href = "css/bootstrap.css" />         <meta charset = "UTF-8" name = "viewport" content = "width=device-width, initial-scale=1" />     </head> <body>     <nav class = "navbar navbar-default" >         <div class = "container-fluid" >                     </div>     </nav>     <div class = "col-md-3" ></div>     <div class = "col-md-6 well" >         <h3 class = "text-primary" > PHP - Simple To Do List App </h3>         <hr style = " border-top:1px dotted #ccc; " />         <div class = "col-md-2" ></div>       ...

C R U D E (WITH BOOTSTRAP)

---//REGISTER.PHP//--- <?php include "conn.php" ; if ( isset ( $_POST [ 'save' ])) {   $name = $_POST [ 'name' ];   $email = $_POST [ 'email' ];   $password = $_POST [ 'password' ]; $sql = " INSERT INTO bot(`name`,`email`,`password`)       VALUES (' $name ',' $email ',' $password ') " ;       if ( mysqli_query ( $db , $sql )) {         header ( "location:login.php" );         exit ;       } else {           echo "Error:" . $sql . "" . mysqli_error ( $db );       }       mysqli_close ( $db );       } ? > <! DOCTYPE html > < html lang = "en" > < head >   < title > Register </ title >   < meta charset = "utf-8" >   < meta name = "viewport" content = "width=device-width, initial-scale=1" >   < link rel = "stylesheet" href = "https://maxcdn...