Jump to content

Recommended Posts

On my original first page my query is the following:

SELECT * from tbl_archiefvormers v WHERE v.periode like '%1925%'

 

On page 2 the query is changed to:

SELECT * from tbl_archiefvormers v WHERE v.periode like '%'

 

Can someone tell me why the '%19 is changed to ' ?

 

Thanks

Its most probably some form of character encoding issue. Where on "page 2" is this code used? Need more info than just your query

 

I start with a search in my php page, here the correct query is created.

After searching the result is show with a paging function (paging function is in separate php page that I have included).

In this paging function I send the sql query to the next page.

On page 2 I do a $_GET for my query and show the next result page.

 

Everything happens on the same php page.

 

The code for getting the sql query is the following:

 

$searchsql = stripslashes($_GET['sql']);

 

If you need more info, please ask

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.