Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 1st, 2004, 02:07 AM
Authorized User
 
Join Date: Oct 2003
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?






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





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