fix table names

This commit is contained in:
James Shiffer 2022-02-25 22:25:51 -08:00
parent 0c7e7af45a
commit f7cd22234e
2 changed files with 2 additions and 2 deletions

@ -35,7 +35,7 @@ if (!isset($wire)) {
$conn = new mysqli("localhost", "mileslinden", "Daiso@6969", "mileslinden");
$query = $conn->prepare(
"INSERT INTO subscribers (`address`, `quantity`, `wire_stake`, `join_date`) VALUES (?, ?, ?, ?)"
"INSERT INTO signs (`address`, `quantity`, `wire_stake`, `join_date`) VALUES (?, ?, ?, ?)"
);
if (!$query) {
http_response_code(500);

@ -61,7 +61,7 @@ if (strlen($phone_num) !== 10) {
$conn = new mysqli("localhost", "mileslinden", "Daiso@6969", "mileslinden");
$query = $conn->prepare(
"INSERT INTO subscribers (`email`, `full_name`, `phone`, `position`, `join_date`) VALUES (?, ?, ?, ?, ?)"
"INSERT INTO volunteers (`email`, `full_name`, `phone`, `position`, `join_date`) VALUES (?, ?, ?, ?, ?)"
);
if (!$query) {
http_response_code(500);