Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Insert Query Error
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Benn" data-source="post: 396703" data-attributes="member: 39988"><p>Hello, </p><p></p><p>After many attempts to solve, I cannot find the error with my Insert Query. </p><p></p><p>PHP Code:</p><p>[PHP]</p><p>$stmm = $dbh->prepare("INSERT INTO hk_logs(staff,action,timestamp)</p><p>VALUES(:username, 'Logged in Successfully', '".time()."')");</p><p>$stmm->bindParam(':username', $_SESSION['username']); </p><p>[/PHP]</p><p></p><p>I really hope I'm not being blind to a simple mistake.</p><p>All help is appreciated</p></blockquote><p></p>
[QUOTE="Benn, post: 396703, member: 39988"] Hello, 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']); [/PHP] I really hope I'm not being blind to a simple mistake. All help is appreciated [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Insert Query Error
Top