close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Pagination buttons not working on data assist results page

Thread began 3/24/2017 9:03 am by larry268887 | Last modified 3/24/2017 12:22 pm by Ray Borduin | 1805 views | 6 replies |

larry268887

Pagination buttons not working on data assist results page

On my results page the pagination buttons aren't working properly. When you click the button to go to the next page it says that no results are found.
I have two questions:
1. Did I do something wrong when generating the page?
2. How do I correct this.

Here is my results page.

Attached Files
Untitled-1.php
Sign in to reply to this post

Ray BorduinWebAssist

In the future, please attach the page directly rather than cutting and pasting its content since I have to recreate the page anyway in order to view it in Dreamweaver.

Do you have a live URL where I can see the problem?

One thing that stands out is that your links look like:
onclick="document.location.href='plugins/<?php printf("%s?pageNum_WADAproducts=%d%s", $currentPage, max(0, $pageNum_WADAproducts - 1), $queryString_WADAproducts); ?>';"

I think the 'plugins/' was added when you did a save as and probably shouldn't be there. However that doesn't really answer the question of the error you are getting. I'd like to look at the page live.

Sign in to reply to this post
Did this help? Tips are appreciated...

larry268887

Here is the URL http://www.elvisyorkshireterrier.com/elvisadmin/insert-puppies.php

Sign in to reply to this post

Ray BorduinWebAssist

It looks like some code is out of order.

Lines 67-83 should be below the recordset.. so after line 197 just before the <!doctype> tag.

Sign in to reply to this post
Did this help? Tips are appreciated...

larry268887

Sorry wrong URL

Should be:
http://www.elvisyorkshireterrier.com/elvisadmin/puppies_results.php?ProdId=&ProdName=&DogSex=Female&DogOwner=&color=&Search=Search

Sign in to reply to this post

larry268887

That solved the problem.
The next question is why was the code generated that way and what can I do so it doesn't generate that code again?

Sign in to reply to this post

Ray BorduinWebAssist

Dreamweaver is notorious for occasionally putting code in the wrong spot. I don't think it was anything you did specifically or could avoid. It probably wouldn't happen consistently.

Sign in to reply to this post
Did this help? Tips are appreciated...

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.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...