Connection failed: could not find driver
<html>
<head>
<title>Form</title>
</head>
<body>
<form action="req.php" method="post">
<table>
<tr>
<td>Nome</td>
<td><input type="text" name="nome"/></td>
</tr><tr>
<td>Cognome</td>
<td><select name="cognome">
Warning: Undefined variable $conn in /in/jDDQE on line 38
Fatal error: Uncaught Error: Call to a member function prepare() on null in /in/jDDQE:38
Stack trace:
#0 {main}
thrown in /in/jDDQE on line 38
Process exited with code 255.
Connection failed: could not find driver
<html>
<head>
<title>Form</title>
</head>
<body>
<form action="req.php" method="post">
<table>
<tr>
<td>Nome</td>
<td><input type="text" name="nome"/></td>
</tr><tr>
<td>Cognome</td>
<td><select name="cognome">
Notice: Undefined variable: conn in /in/jDDQE on line 38
Fatal error: Uncaught Error: Call to a member function prepare() on null in /in/jDDQE:38
Stack trace:
#0 {main}
thrown in /in/jDDQE on line 38
Process exited with code 255.
Output for 7.0.0 - 7.0.4
Connection failed: could not find driver
<html>
<head>
<title>Form</title>
</head>
<body>
<form action="req.php" method="post">
<table>
<tr>
<td>Nome</td>
<td><input type="text" name="nome"/></td>
</tr><tr>
<td>Cognome</td>
<td><select name="cognome">
Notice: Undefined variable: conn in /in/jDDQE on line 38
Fatal error: Uncaught Error: Call to a member function prepare() on unknown in /in/jDDQE:38
Stack trace:
#0 {main}
thrown in /in/jDDQE on line 38
Process exited with code 255.
Output for 5.6.0 - 5.6.40
Connection failed: could not find driver
<html>
<head>
<title>Form</title>
</head>
<body>
<form action="req.php" method="post">
<table>
<tr>
<td>Nome</td>
<td><input type="text" name="nome"/></td>
</tr><tr>
<td>Cognome</td>
<td><select name="cognome">
Notice: Undefined variable: conn in /in/jDDQE on line 38
Fatal error: Call to a member function prepare() on null in /in/jDDQE on line 38
Process exited with code 255.
Connection failed: could not find driver
<html>
<head>
<title>Form</title>
</head>
<body>
<form action="req.php" method="post">
<table>
<tr>
<td>Nome</td>
<td><input type="text" name="nome"/></td>
</tr><tr>
<td>Cognome</td>
<td><select name="cognome">
Notice: Undefined variable: conn in /in/jDDQE on line 38
Fatal error: Call to a member function prepare() on a non-object in /in/jDDQE on line 38
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Fatal error: Class 'PDO' not found in /in/jDDQE on line 13
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected '{' in /in/jDDQE on line 12
Process exited with code 255.