From: James E. F. <jf...@ac...> - 2002-01-15 18:09:00
|
Hey everyone, Another bug squashed. If you tried to display results to the public by using handler.php, it would fail to do so and show the survey. I had 'defined' instead of 'isset' on line 31 of public/handler.php. Either get the latest version from CVS or change the line by hand if you need this feature. (Thanks to Ken Teague for the bug report.) For those of you who didn't know about this feature I will explain. The handler is capable of embedding both the survey itself and the results in a template. To embed the results simply add the statement ``$results=1;'' to the PHP tag in your template. For example: <?php $sid=42; $results=1; include('.../handler.php'); ?> Take it easy, -James |