PHP Classes

Use parameters

Recommend this page to a friend!

      Bar and Line Point Chart  >  All threads  >  Use parameters  >  (Un) Subscribe thread alerts  
Subject:Use parameters
Summary:Parameters to example_line.php
Messages:1
Author:rodrigo
Date:2010-03-31 15:53:05
 

  1. Use parameters   Reply   Report abuse  
Picture of rodrigo rodrigo - 2010-03-31 15:53:06
How can I send my parameters to example_line.php???


----------------------------------------

My page.php have a code like this:

<?
include "../class/object.php";
$object = new Object();
$array_with_all_my_parameters = $object->getAllMyData();
?>
<img src="example_line.php">


But I wanna send (to example_line.php) my data to render my line chart, how can I do that?

I could try this:
<img src="example_line.php?mydata=<?=$data;?>">

and use $_GET['mydata'] in example_line.php.

But my data is an array: $array_with_all_my_parameters; with a lot of information.

----------------------------------------

Please, help me! :)
Regards!
Rodrigo