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