Server IP : 103.53.40.154 / Your IP : 3.135.216.196 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/ppcad7no/samingpvtltd.com/admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include 'database.php'; $data = new Database(); if (isset($_POST['save'])) { $name = $_POST['name']; $phone = $_POST['phone']; $email = $_POST['email']; $data->insert('oop',['name'=>$name,'phone'=>$phone,'email'=>$email]); $data->showmsg(); } ?> <!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>Document</title> </head> <body> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> <input type="text" name="name" id=""> <input type="text" name="phone" id=""> <input type="email" name="email" id=""> <button name="save">Send</button> </form> </body> </html>