On Oct 14, 2012, at 7:41 AM, Negin Nickparsa <nickparsa@xxxxxxxxx> wrote: > I wanted to refresh the download count when clicking the button first is it > possible? Yes, it is possible. The following is an example of a server-side php script refreshing a Web page via a javascript client-side action: http://php1.net/a/zipcode-states/ The action is triggered by simply using the selection control, which in turn activates an onchange javascript routine that causes a slave php script to run retrieving data from a database returning the data thereby causing an ajax script to update the selection control. All the code (html, javascript) is there except for the php script, which should be trivial to write. Cheers, tedd _____________________ tedd@xxxxxxxxxxxx http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php