This is a discussion on "Running Php functions" within the PHP Forum section. This forum, and the thread "Running Php functions are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Running Php functions
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Running Php functions
Hi,
How do I run a php function from a button or link? Basically I have a list of functions which I want users to select and the results will then be displayed in the same page in a results box. So for example a user selects "view all records" and all the results will be displayed in the results section but if they select another option like "view last ten records" this information will replace the previous in the results section of the page. Any help would be great. Thanks |
|
|
|
#2
|
|||
|
|||
|
Re: Running Php functions
You could use the onclick property of the button to fire a javascript to reload the page with some variables in the url, same with the link, ie the link goes to somepage.php?var=12, probably not quite what you're after but its a possability.
|
![]() |
| Tags |
| running, php, functions |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Functions? | Jack Franklin | PHP Forum | 10 | Feb 3rd, 2008 16:49 |
| Functions and conditional IFs | AdRock | PHP Forum | 4 | Sep 17th, 2007 08:18 |
| Calling functions | thriftyspider | Classic ASP | 5 | Aug 7th, 2007 14:54 |
| Need help with webpage functions | lordfinesse | Web Page Design | 0 | Jul 26th, 2005 02:50 |
| Help with Functions | stallion150172 | JavaScript Forum | 13 | Jun 11th, 2004 10:09 |