Created
November 14, 2021 19:23
-
-
Save stevesohcot/a3a777319b6484c2c7fe24c017049428 to your computer and use it in GitHub Desktop.
PHP Query
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $params = []; | |
| $params[':first_name'] = $first_name; | |
| $sql = "INSERT INTO Users (first_name) VALUES (:first_name)"; | |
| return $db->runSQL($sql, $params); // will return true or display an error | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment