Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 1st, 2004, 02:07 AM
Authorized User
Join Date: Oct 2003
Location: KL, wilayah persekutuan, Malaysia.
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default refresh and display new data after clicking button

i have a processreport.php that will retrieve data from the database and user input from salesreport.php. For example; when the user choose to view sales by category and clicked the submit button in salesreport.php, a chart with category name and sales will be displayed in processreport.php. How am i going to make the processreport.php retrieve new data from the database and displayed it.

i displayed a chart in processreport.php. i want the form to retrive new data and displayed the new chart when the user clicked the drill down button which is next to it.but how to do it?
i tried by <input type="button" name="drilldown" value="Drill down" onclick="function drill()"> and in the
function drill() {
retrieve data...
display data..

but it doesn't work. Please advice me how to display new retrieved data on the same page?

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Button to refresh a grid? scandalous ASP.NET 2.0 Basics 1 December 5th, 2007 01:21 PM
Refresh GridView Using Refresh Button msbsam ASP.NET 2.0 Professional 0 December 6th, 2006 05:57 AM
Running VBScript after clicking a submit button choby VB.NET 1 July 11th, 2006 07:33 PM
How to forbidden IE refresh button? Edward King Javascript How-To 3 February 9th, 2005 11:26 PM

All times are GMT -4. The time now is 12:36 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.