close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Display number of rows before exporting

Thread began 9/06/2013 5:41 pm by sysop349733 | Last modified 9/09/2013 8:22 am by sysop349733 | 383 views | 2 replies


Display number of rows before exporting

I have a php page the exports the results of a Dataassit search to a CSV file. This page is a modified results page for a Dataassist search_results page. Rather than have the search results immediately go to the CSV file download, I would like to show the user the number of records their search results contain so that they can decide whether or not they actually want to download a file with that number of records.

I have an intervening page that echos the $totalRows_WADArecordset variable, and asks the user to confirm the download or go back to a new search. I am unsure of the best way to proceed if the user confirms the download though.

1. Are the search results represented by some variable I can reference in some way and pass to the results page that echos results as a CSV file; or
2. Is there a way to pass the search query to the CSV results page (it's basically a Dataassist results page).

I'm not sure how to go about either and am hoping their is a way to do this without having to repeat the database query when the user confirms a download.

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





Ease of use


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...