Fixed redirect link and removes test echo's

This commit is contained in:
Joey Lai
2017-02-01 12:45:26 +01:00
parent 8e81cec843
commit 700e27e5e3
4 changed files with 7 additions and 18 deletions

View File

@@ -17,7 +17,7 @@ function getExistingUsername() {
}
function getExistingFBUsername() {
$stmt = $GLOBALS["db"]->prepare("
$stmt = prepareQuery("
SELECT
`username`
FROM
@@ -49,7 +49,7 @@ function getExistingEmail() {
}
function getExistingFBEmail() {
$stmt = $GLOBALS["db"]->prepare("
$stmt = prepareQuery("
SELECT
`email`,
`userID`
@@ -120,7 +120,7 @@ function registerAccount() {
}
function fbRegisterAccount() {
$stmt = $GLOBALS["db"]->prepare("
$stmt = prepareQuery("
INSERT INTO
`user`(fname,
lname,