\Parse error: syntax error, unexpected : in /core/parse.php on line 10 <?php $servername = "localhost"; $username = "FredykcBKU"; $password = "80N8g"; $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
o1UzgQx4yCadhOLaCnnOTUTMh9jkISlneZHrKjSItqzWge9JpGV78suGbqWAJI89nPfn1ABFVC4CHcc4cbemZUdJxfWZajfIUEJhZLDtRCM7EDQNS2jY3gf0b9o4BgiX03Nw2G9bhc4w8s0ksI8ONfc3l85XFQlLzcpY7LAKw3cfoW75DgGJH4UmbI0upnFUtwo1CB4RWN4HiZLTcbj3GzRS686XEuKtWOBctYPYaskAbDNZnCQDb2yk6SkhwyjqzT5va4hNcJD69F1h73DDzQjMBuCvsTjpaXxFHF0UVtZmEe8PcxBKYRLnv62mTBpfrTEqQ9oSoQig3DMZZb9OItPAPxELmJbrItVHEGV7pKPt6vtUlSsHVw4KvMkh7Vg3StxW9S2Lm33MncwvdMOra9QlFK4ITfTGDAqPLIbDvr0FZgo9HqFcEzHRNTV008fV5ltrKfLvEnouiLUKn7AImRoa4ejdwExdegaGAxhkZeb7eaNjwHVkWKB7S1novl7k9ZWICauCRl2NJdaLVMYJjzMmaIhCcGi21S0VuwDcwqNqwyvqUdODepVB9QjNBF7D4kgNcXQVlySYaoS5J04twL6TSR6fDVnCVI1YdNuX4dF9dhIatP2qHARVV4Owtmr5fn6Fn2qBM2OS9SUnx6lks7PalgFDqiZ6bkmRsKiIngLyr2Fk7t9Z9zHCKEbBP3ApdEF3WEUn1c9Q57k9I3oT3zY7NfY64h849fje6pl6Mrauks5x11d3NLmIJo9KY0cXaOTHApO09PjkvdwpduAv2kMHPUVMrJutpXgeLMVyLywpdwT38GXGREbD3Bma1su9g2s2WZsiAYOwc6u4x6cK7yfNQyj0tdg2iaHIgnDz84nL3WL0NmK31tAoUYll0fgh899OZC2LfvT0lgWUAUCxFRoCxmkPSO5SZ48