Hi All!..Can someone lend me hand..
|
|||
|
Rank: ? (1)
Member #: 29486 |
well i am doing a PHP based front end for the MRTG index page and i'm utilising a select box to enable the user to view any desired graph(a jpeg file) from selection made from the given select box. by default, all type of graph will be displayed on the page. As the user select the choice from the select box, only the desired type of graph is displayed... Well, i have googled this but not much has been found, could anybody relay me some PHP script on this dilemma??... I'm so much confused!! |
||
|
|||
|
|||
|
Rank: ? (767)
Member #: 11085 |
I won't give you a script, but I will give you a basic outline of what to do.
1) Make sure the select box has a name, this will be the name of the $_GET (or $_POST, if you want) variable later on. 2) When the page loads, if the contents of th $_GET variable are empty, or the variable does not exist, include all the graph images. 3) Otherwise, include the image as specified by the $_GET variable.
- relpats_eht
|
||
|
Please login or register to post a reply.