close ad
 
Important WebAssist Announcement
open ad
View Menu

Web development tutorial

Fix MySqli query on pagination apply

Tutorial created by Nico, Nikolaos Beligiannis

Categories: MySQLi Server Behaviors

rating

Sometimes when you apply the pagination server behaviors on a Mysqli query, for some reason refreshing the page leads to a query error.

You should make the changes bellow in order to make query run again.

FIRST
In the where clause change the
WHERE xxxxx = %s
to
WHERE xxxxx = ?

SECOND
You should change this
bindParam("int", ""
to
bindParam("i", ""

Thank you

arrow downReviews and comments

Comments will be sent to the author of this tutorial and may not be answered immediately. For general help from WebAssist, please visit technical support.

Sign in to add comments
rating

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.