Okay, I just goofed. No, I did not find any flaw in OLS. (Sorry.)
For starters, it looks like my PDO bindParam syntax (above) was wrong. Instead of . . .
$stmt->bindParam(':first_name' => $first_name);
...it should be...
$stmt->bindParam(':first_name', $first_name);
But in any case, I got...
Although they both worked fine in Apache in which I coded them, yet here in OLS I have tried both PDO and mySQLi INSERT statements, . . . and neither one work.
All I ever get is a PHP response that says, "[object Object]".
Now I know that my database connection is good because my preceding...