\Parse error: syntax error, unexpected : in /core/parse.php on line 10 <?php $servername = "localhost"; $username = "FredonWkBG"; $password = "DGM8X"; $dbname = "admins"; try { $conn = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password); $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sqlInsert = "INSERT INTO users (name, email) VALUES ('$NAME', '$EMAIL')"; $conn->exec($sqlInsert); echo "New record inserted successfully.\n"; $sqlDelete = "DELETE FROM users WHERE id = 1"; $conn->exec($sqlDelete); echo "Record deleted successfully.\n"; $sqlSearch = "SELECT * FROM users"; $stmt = $conn->query($sqlSearch); $result = $stmt->fetchAll(PDO::FETCH_ASSOC); if ($result) { foreach ($result as $row) { echo "User: " . $row["name"] . ", Email: " . $row["email"] . "\n"; } } else { echo "No results found."; } } catch(PDOException $e) { echo "Connection failed: " . $e->getMessage(); } $conn = null; ?>/n /n
7t7KWY406XIGzqZv3qfqLORvo7xeOFSaKij71pIYezXmVKJOaN9dYW5skGcUGv6PBNu69hEE7ZuQ0FNsQolDaZCjZ5lbfbeHho5W1CgkX2dpvBtS5hESg5N0MqWnWzt6INXo0AP0LInBQyuXTEWoiFoJSn8bWDaKg9eNCQkojWJVMetiVrQzuoPcxDMp2e32uah9uKC9Y9t63HQHgd0jH2kikfRcCjeJLQQCOJJ4eAUn2So54QZyinpdlZBKyqsHLOUiYoniJaXnVwyV2dqSq0DjWfNfpWBjY3jxajFYwXuz4uiDhdqh5H24iUrJMALX5Me3wFefkOoxvky9jvNRuPiFoPfBPk3WZOC5KMtgCzY9ZAo1EYNPhV0sBOTYNAzOyI6HUUoO9iwKTCRvni8TyICLVvg9AR9MaLg4xZD0w7dsqfnL7bcPBsnky2N3FqCnwRub8CTC0aQT3iBImS2P91kpDOkbfWaIUnmHkNJ5aWxBnvO3YyL6RI5yA4p5Kj8ri777hWpdkIUX1xr32dly0EGM5jIN1yqL0pOAJhim8qljamshk8cx5LprPVsDukdwMJvcDNzYIvZmx4Z3qjJ6DS2fEPjYgvzmjT6wodCewIoJtijBp2YIkcFbsPACdmSU4pV0DJCrfJRmxb3QcGOxIFCVHBf5AnwkjCFMfWXSFKmCZebbMEbzFjyFkfbkECu452BzIG5aP5ZNoxqKxZesERoCCvhEA3Slbo9ZYnkxpisLBA496zLudBScDiVK7KcuN6JaS8vTgcKL4zyLs4XArlG8EZyEzVHAgYhCitFPFmGobMMfR3IfaNtW4RQ9u0hOCjUUfZ1YMj0GQzmHW8aveLnQ6aUhxQuHdQOcsSndr02EjCZKCgNtRm2If5LCfJUBOGNOO064fxBOZHHXzsC7Je4jcCzIV2E5IHcqaNKqLyKEahrezMBoJqxFVRKdRiaCjl6JJSQcnAg8DeSrbiKCS4M23VOBM1tRF