[COLOR=blue] I have get lost in some point and I do not know what's wrong now:
I have developed a site that search a MySQL database by PHP, if you access the following adress http://www.inmobiliariapantoja.com/main.html
you will find a page that contains a search engine on the top. If you make a search without any criteria (just pressing over the magnifier lens), it should gives you back all the items inside the database (No criteria to choose = all given)
It will open a new page "resultados.html" with 115 results ordered in groups of 10, there is of course a link that allows you to go to the next 10 results.
THIS LINK DOESN'T WORK
But if in this new page "resultados.html" you repeat the same query (Just pressing again the magnifier) it will give you the same result and also the possibilitie to browse between them.
Why it happens if they aparently equal??
Firstly, these are actually BOTH wrong. You need to change your javascript to use & instead of ? to add the extra parameters onto the url as there should only be one ? in a url.
Assuming that does not fix it anyway, the likely reason that the second one works is that a parameter called 'varid' is being passed in this one and not in the first, so either add this parameter to the first page (where the javascript url gets built) or change your code to handle it not being there.
Bookmarks