|
Comments for: ian_gilfillan20060503
| Message # 1510367: |
|
Date: 12/10/07 00:25
By: Murray Subject: Call-time pass-by-reference has been deprecat Hi, Thanks for your example. When I ran it I first got a message (PHP 5.2): The image “http://127.0.0.1/imagegraph/test1.php” cannot be displayed, because it contains errors. I changed the final line from: $Graph->done(); to: $Graph->done( array('filename' => 'output.png') ); to output to a file and that then displayed the mysterious error: "Call-time pass-by-reference has been deprecated" etc To fix this, change the following line: $Plot =& $Plotarea->addNew('bar', &$Dataset); To: $Plot =& $Plotarea->addNew('bar', array(&$Dataset)); Cheers, Murray |
Previous Message | Next Message |
| Comments: | ||
| Need help on creating sub heading in PHP | Raghavendra Nayak | 07/18/08 01:52 |
| Call-time pass-by-reference has been deprecat | Murray | 12/10/07 00:25 |
| RE: outputting graphs to files | Keyur | 10/12/07 06:53 |
| outputting graphs to files | Reinier van Mourik | 07/13/07 06:59 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


