fix table names
This commit is contained in:
parent
0c7e7af45a
commit
f7cd22234e
@ -35,7 +35,7 @@ if (!isset($wire)) {
|
|||||||
$conn = new mysqli("localhost", "mileslinden", "Daiso@6969", "mileslinden");
|
$conn = new mysqli("localhost", "mileslinden", "Daiso@6969", "mileslinden");
|
||||||
|
|
||||||
$query = $conn->prepare(
|
$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) {
|
if (!$query) {
|
||||||
http_response_code(500);
|
http_response_code(500);
|
||||||
|
@ -61,7 +61,7 @@ if (strlen($phone_num) !== 10) {
|
|||||||
$conn = new mysqli("localhost", "mileslinden", "Daiso@6969", "mileslinden");
|
$conn = new mysqli("localhost", "mileslinden", "Daiso@6969", "mileslinden");
|
||||||
|
|
||||||
$query = $conn->prepare(
|
$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) {
|
if (!$query) {
|
||||||
http_response_code(500);
|
http_response_code(500);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user