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