File manager - Edit - /home/custbahd/public_html/order/websites/index.php
Back
<?php if(!empty($_POST["submit"])) { $webtype = $_POST["webtype"]; $title = $_POST["title"]; $description = $_POST["description"]; $conn = mysqli_connect("localhost", "custbahd_customassistname", "Rwatangabo1son", "custbahd_customassist") or die("Connection Error: " . mysqli_error($conn)); mysqli_query($conn, "INSERT INTO websites (webtype, title, description) VALUES ('" . $webtype. "','" . $title. "','" . $description. "')"); $id = mysqli_insert_id($conn); //if(!empty($insert_id)) { $message = "Your order has been received. Thank You!"; $type = "success"; //} } require_once "index.html"; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Generation time: 1.61 |
proxy
|
phpinfo
|
Settings