Dear Readers,

I am creating dynamic URL-s, for example: example.com/example.php?this=Something.

Inside this page, I use pagination, but after that my URL will look like this: example.com/example.php?this=Something?page=2

It does not work. Can you give me some tips or advices or examples on how to make it work?

Thank you,

Tibor

Member Avatar for LastMitch

It does not work. Can you give me some tips or advices or examples on how to make it work?

Does the pagination work and you don't like how it looks on your URL?

If the pagination works and you just want to Re Mod the URL?

What are you asking?

Member Avatar for diafol
example.com/example.php?this=Something&page=2

Notice the second ? should be a &

Look at this example for pagination.
Simple and understandable piece of code.

You can try in code Previous and next in code. You can follwing PHP services.

Remove the extra question mark (?) that you have placed in your query string.

i.e code should be like
example.com/example.php?this=Something&page=2

Member Avatar for diafol

Remove the extra question mark (?) that you have placed in your query string.

I told him. Three weeks ago...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.