Insert Query

Results 1 to 1 of 1
  1. #1

    ! Insert Query

    Hello,

    After many attempts to solve, I cannot find the error with my Insert Query.

    PHP Code:
    $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




Advertisement