Benn
Member
- Nov 23, 2013
- 34
- 20
Hello,
After many attempts to solve, I cannot find the error with my Insert Query.
PHP Code:
I really hope I'm not being blind to a simple mistake.
All help is appreciated
After many attempts to solve, I cannot find the error with my Insert Query.
PHP Code:
PHP:
$stmm = $dbh->prepare("INSERT INTO hk_logs(staff,action,timestamp)
VALUES(:username, 'Logged in Successfully', '".time()."')");
$stmm->bindParam(':username', $_SESSION['username']);
I really hope I'm not being blind to a simple mistake.
All help is appreciated